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:
parent
7f2cc816e5
commit
c2a6e7276d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue