Commit b2617d80 authored by Thiago Macieira's avatar Thiago Macieira Committed by Olivier Goffart
Browse files

Fix warning about ASCII cast in calling QString::contains

(cherry picked from commit 4671c273edb87e55436dd3bf0b371267c5e34ff7)
parent da662353
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -184,7 +184,7 @@ QDeclarativeDebugServer *QDeclarativeDebugServer::instance() ...@@ -184,7 +184,7 @@ QDeclarativeDebugServer *QDeclarativeDebugServer::instance()
int separatorIndex = appD->qmljsDebugArgumentsString().indexOf(QLatin1Char(',')); int separatorIndex = appD->qmljsDebugArgumentsString().indexOf(QLatin1Char(','));
port = appD->qmljsDebugArgumentsString().mid(5, separatorIndex - 5).toInt(&ok); port = appD->qmljsDebugArgumentsString().mid(5, separatorIndex - 5).toInt(&ok);
pluginName = QLatin1String("qmldbg_tcp"); pluginName = QLatin1String("qmldbg_tcp");
} else if (appD->qmljsDebugArgumentsString().contains("ost")) { } else if (appD->qmljsDebugArgumentsString().contains(QLatin1String("ost"))) {
pluginName = QLatin1String("qmldbg_ost"); pluginName = QLatin1String("qmldbg_ost");
ok = true; ok = true;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment