Fix warning about using QString's const char* constructor on Mac
Change-Id: I20ca50fdcdcfb075ad317247f147e4eb007a0c44 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
parent
bfc5bb09c4
commit
f5b3cbb8f7
@ -137,7 +137,8 @@ void QFactoryLoader::update()
|
||||
//
|
||||
// ### FIXME find a proper solution
|
||||
//
|
||||
const bool isLoadingDebugAndReleaseCocoa = plugins.contains("libqcocoa_debug.dylib") && plugins.contains("libqcocoa.dylib");
|
||||
const bool isLoadingDebugAndReleaseCocoa = plugins.contains(QStringLiteral("libqcocoa_debug.dylib"))
|
||||
&& plugins.contains(QStringLiteral("libqcocoa.dylib"));
|
||||
#endif
|
||||
for (int j = 0; j < plugins.count(); ++j) {
|
||||
QString fileName = QDir::cleanPath(path + QLatin1Char('/') + plugins.at(j));
|
||||
|
Loading…
Reference in New Issue
Block a user