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

Change-Id: I7ea8ff54d24fe0818cd216d4aac0e8970461306e
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
This commit is contained in:
Friedemann Kleint 2012-11-22 10:25:30 +01:00 committed by The Qt Project
parent 7f2cc816e5
commit c2a6e7276d
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ int main(int argc, char ** argv)
QObject::connect(&engine, SIGNAL(quit()), QCoreApplication::instance(), SLOT(quit()));
component->loadUrl(options.file);
if ( !component->isReady() ) {
qFatal(qPrintable(component->errorString()));
qFatal("%s", qPrintable(component->errorString()));
return -1;
}