diff options
author | Orgad Shaneh <[email protected]> | 2012-11-21 22:43:22 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2012-11-22 08:53:45 +0100 |
commit | 75a3728254bc4016451038d519e7d078304e585a (patch) | |
tree | 73f430a4ca9f209ad859f480064b5d33e0d5b784 /src/plugins/qmljstools/qmljstoolsplugin.cpp | |
parent | cdf5a10d4e1d6b08cea3abe1f010d54eef28d3dd (diff) |
QmlJSTools: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I370075ce75682ea11790a8f91339a01fb3c247f9
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/plugins/qmljstools/qmljstoolsplugin.cpp')
-rw-r--r-- | src/plugins/qmljstools/qmljstoolsplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmljstools/qmljstoolsplugin.cpp b/src/plugins/qmljstools/qmljstoolsplugin.cpp index fb27af25ad6..9d6e9162391 100644 --- a/src/plugins/qmljstools/qmljstoolsplugin.cpp +++ b/src/plugins/qmljstools/qmljstoolsplugin.cpp @@ -132,14 +132,14 @@ ExtensionSystem::IPlugin::ShutdownFlag QmlJSToolsPlugin::aboutToShutdown() void QmlJSToolsPlugin::onTaskStarted(const QString &type) { - if (type == QmlJSTools::Constants::TASK_INDEX) { + if (type == QLatin1String(QmlJSTools::Constants::TASK_INDEX)) { m_resetCodeModelAction->setEnabled(false); } } void QmlJSToolsPlugin::onAllTasksFinished(const QString &type) { - if (type == QmlJSTools::Constants::TASK_INDEX) { + if (type == QLatin1String(QmlJSTools::Constants::TASK_INDEX)) { m_resetCodeModelAction->setEnabled(true); } } |