Fix format in platform plugin loading error reporting.
qguiapplication.cpp:792:133: warning: format not a string literal and
no format arguments [-Wformat-security].
Introduced by 0d7d53fd46 .
Change-Id: I70268a8b597be33226efb9bb4d7d9f672f0d7440
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
bb10
parent
af2f1e14f6
commit
5fc9898237
|
|
@ -789,7 +789,7 @@ static void init_platform(const QString &pluginArgument, const QString &platform
|
|||
fatalMessage += QStringLiteral("Available platforms are: %1\n").arg(
|
||||
keys.join(QStringLiteral(", ")));
|
||||
fatalMessage += QStringLiteral("GUI applications require a platform plugin. Terminating.");
|
||||
qFatal(qPrintable(fatalMessage));
|
||||
qFatal("%s", qPrintable(fatalMessage));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue