QFactoryLoader: use QStringLiteral more judiciously
Replace it with QL1S in overloaded functions. Saves some text size. Change-Id: Ie1436a787fb3052157880234ca180fefce5a8412 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
715fd425ef
commit
8066ae4943
@ -131,10 +131,10 @@ void QFactoryLoader::update()
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
if (isLoadingDebugAndReleaseCocoa) {
|
if (isLoadingDebugAndReleaseCocoa) {
|
||||||
#ifdef QT_DEBUG
|
#ifdef QT_DEBUG
|
||||||
if (fileName.contains(QStringLiteral("libqcocoa.dylib")))
|
if (fileName.contains(QLatin1String("libqcocoa.dylib")))
|
||||||
continue; // Skip release plugin in debug mode
|
continue; // Skip release plugin in debug mode
|
||||||
#else
|
#else
|
||||||
if (fileName.contains(QStringLiteral("libqcocoa_debug.dylib")))
|
if (fileName.contains(QLatin1String("libqcocoa_debug.dylib")))
|
||||||
continue; // Skip debug plugin in release mode
|
continue; // Skip debug plugin in release mode
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user