forked from qt-creator/qt-creator
QmlJSTools: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I370075ce75682ea11790a8f91339a01fb3c247f9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Friedemann Kleint
parent
cdf5a10d4e
commit
75a3728254
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user