Skip to content

qtglrenderer.cc: Fix -Wformat-security warning

Raul Tambre requested to merge (removed):master into master
../ext/qt/qtglrenderer.cc:724:13: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
            m_errorString.toUtf8());
            ^~~~~~~~~~~~~~~~~~~~~~
../ext/qt/qtglrenderer.cc:724:13: note: treat the string as an argument to avoid this
            m_errorString.toUtf8());
            ^
            "%s",

Merge request reports