From faeba013bcaa7c7b53f964499798117dc78f5ac5 Mon Sep 17 00:00:00 2001 From: nowrep Date: Wed, 3 Apr 2013 21:14:06 +0200 Subject: [PATCH] Fixed building with Qt 5 --- src/plugins/GreaseMonkey/gm_jsobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/GreaseMonkey/gm_jsobject.cpp b/src/plugins/GreaseMonkey/gm_jsobject.cpp index ba2e4cad2..840845fa8 100644 --- a/src/plugins/GreaseMonkey/gm_jsobject.cpp +++ b/src/plugins/GreaseMonkey/gm_jsobject.cpp @@ -47,7 +47,7 @@ QVariant GM_JSObject::getValue(const QString &nspace, const QString &name, const return dValue; } - switch (savedValue.at(0).toAscii()) { + switch (savedValue.at(0).unicode()) { case 'b': return QVariant(actualValue == QLatin1String("true"));