From 2c915037c70dcfc2f44964e8ac5f17e0c6913651 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Wed, 7 Aug 2013 09:25:27 +0200 Subject: [PATCH] explicitly compare latin1 strings in qassert (fixes build with debugfull) --- clients/aurorae/src/decorationplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");