diff --git a/clients/aurorae/src/decorationplugin.cpp b/clients/aurorae/src/decorationplugin.cpp
index 8d3040680b..72bb0b69f2 100644
--- a/clients/aurorae/src/decorationplugin.cpp
+++ b/clients/aurorae/src/decorationplugin.cpp
@@ -21,7 +21,7 @@ along with this program. If not, see .
void DecorationPlugin::registerTypes(const char *uri)
{
- Q_ASSERT(uri == QLatin1String("org.kde.kwin.decoration"));
+ Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.kwin.decoration"));
qmlRegisterType(uri, 0, 1, "ColorHelper");
qmlRegisterType(uri, 0, 1, "DecorationOptions");
qmlRegisterType(uri, 0, 1, "Borders");