Use QLatin1String where possible

Krazy--
SVN_SILENT
This commit is contained in:
Martin Gräßlin 2011-08-03 08:20:58 +02:00
parent f72f465c13
commit ebdb0f00ff

View file

@ -1041,7 +1041,7 @@ KLibrary* EffectsHandlerImpl::findEffectLibrary(KService* service)
{ {
QString libname = service->library(); QString libname = service->library();
#ifdef KWIN_HAVE_OPENGLES #ifdef KWIN_HAVE_OPENGLES
if (libname.startsWith("kwin4_effect_")) { if (libname.startsWith(QLatin1String("kwin4_effect_"))) {
libname.replace("kwin4_effect_", "kwin4_effect_gles_"); libname.replace("kwin4_effect_", "kwin4_effect_gles_");
} }
#endif #endif