1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fixed building with Qt 5

This commit is contained in:
nowrep 2013-04-03 21:14:06 +02:00
parent 67dbddedfe
commit faeba013bc

View File

@ -47,7 +47,7 @@ QVariant GM_JSObject::getValue(const QString &nspace, const QString &name, const
return dValue; return dValue;
} }
switch (savedValue.at(0).toAscii()) { switch (savedValue.at(0).unicode()) {
case 'b': case 'b':
return QVariant(actualValue == QLatin1String("true")); return QVariant(actualValue == QLatin1String("true"));