diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-26 13:50:49 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-26 14:35:55 (GMT) |
commit | 4671c273edb87e55436dd3bf0b371267c5e34ff7 (patch) | |
tree | 768f4d15e360ba8ce4a124be89c1fc41d8d6ac07 /src/declarative/debugger | |
parent | 940f16babab76b328b7c9bfdb5435102c689b76b (diff) | |
download | Qt-4671c273edb87e55436dd3bf0b371267c5e34ff7.zip Qt-4671c273edb87e55436dd3bf0b371267c5e34ff7.tar.gz Qt-4671c273edb87e55436dd3bf0b371267c5e34ff7.tar.bz2 |
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 6f46354..c7bdcb6 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; } |