Commit c2a6e727 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by The Qt Project
Browse files

Fix security warning about passing a variable to printf-formatting.


Change-Id: I7ea8ff54d24fe0818cd216d4aac0e8970461306e
Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@digia.com>
parent 7f2cc816
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -464,7 +464,7 @@ int main(int argc, char ** argv) ...@@ -464,7 +464,7 @@ int main(int argc, char ** argv)
QObject::connect(&engine, SIGNAL(quit()), QCoreApplication::instance(), SLOT(quit())); QObject::connect(&engine, SIGNAL(quit()), QCoreApplication::instance(), SLOT(quit()));
component->loadUrl(options.file); component->loadUrl(options.file);
if ( !component->isReady() ) { if ( !component->isReady() ) {
qFatal(qPrintable(component->errorString())); qFatal("%s", qPrintable(component->errorString()));
return -1; return -1;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment