diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-26 15:50:49 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-26 16:35:55 +0200 |
commit | 4671c273edb87e55436dd3bf0b371267c5e34ff7 (patch) | |
tree | 768f4d15e360ba8ce4a124be89c1fc41d8d6ac07 /src/declarative/debugger | |
parent | 940f16babab76b328b7c9bfdb5435102c689b76b (diff) |
Fix warning about ASCII cast in calling QString::contains
Diffstat (limited to 'src/declarative/debugger')
-rw-r--r-- | src/declarative/debugger/qdeclarativedebugserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugserver.cpp b/src/declarative/debugger/qdeclarativedebugserver.cpp index 6f46354a49..c7bdcb649f 100644 --- a/src/declarative/debugger/qdeclarativedebugserver.cpp +++ b/src/declarative/debugger/qdeclarativedebugserver.cpp @@ -184,7 +184,7 @@ QDeclarativeDebugServer *QDeclarativeDebugServer::instance() int separatorIndex = appD->qmljsDebugArgumentsString().indexOf(QLatin1Char(',')); port = appD->qmljsDebugArgumentsString().mid(5, separatorIndex - 5).toInt(&ok); pluginName = QLatin1String("qmldbg_tcp"); - } else if (appD->qmljsDebugArgumentsString().contains("ost")) { + } else if (appD->qmljsDebugArgumentsString().contains(QLatin1String("ost"))) { pluginName = QLatin1String("qmldbg_ost"); ok = true; } |