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 0d7d53fd46e8ab512bed88d0dab114cfada227ce . Change-Id: I70268a8b597be33226efb9bb4d7d9f672f0d7440 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user