diff --git a/clients/aurorae/themes/plastik/code/plastikplugin.cpp b/clients/aurorae/themes/plastik/code/plastikplugin.cpp index 87bf362cb..386e67404 100644 --- a/clients/aurorae/themes/plastik/code/plastikplugin.cpp +++ b/clients/aurorae/themes/plastik/code/plastikplugin.cpp @@ -1,33 +1,33 @@ /******************************************************************** Copyright (C) 2012 Martin Gräßlin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . *********************************************************************/ #include "plastikplugin.h" #include "plastikbutton.h" #include void PlastikPlugin::registerTypes(const char *uri) { Q_UNUSED(uri) } void PlastikPlugin::initializeEngine(QDeclarativeEngine *engine, const char *uri) { - Q_ASSERT(uri == QLatin1String("org.kde.kwin.decorations.plastik")); + Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.kwin.decorations.plastik")); engine->addImageProvider(QLatin1String("plastik"), new KWin::PlastikButtonProvider()); QDeclarativeExtensionPlugin::initializeEngine(engine, uri); } #include "moc_plastikplugin.cpp"