forked from qt-creator/qt-creator
ClassView: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I407b2cf2e1d6efa627724e893ea425bb653cdc7a Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -251,7 +251,7 @@ void Manager::onProjectListChanged()
|
||||
|
||||
void Manager::onTaskStarted(const QString &type)
|
||||
{
|
||||
if (type != CppTools::Constants::TASK_INDEX)
|
||||
if (type != QLatin1String(CppTools::Constants::TASK_INDEX))
|
||||
return;
|
||||
|
||||
// disable tree updates to speed up
|
||||
@@ -260,7 +260,7 @@ void Manager::onTaskStarted(const QString &type)
|
||||
|
||||
void Manager::onAllTasksFinished(const QString &type)
|
||||
{
|
||||
if (type != CppTools::Constants::TASK_INDEX)
|
||||
if (type != QLatin1String(CppTools::Constants::TASK_INDEX))
|
||||
return;
|
||||
|
||||
// parsing is finished, enable tree updates
|
||||
|
||||
Reference in New Issue
Block a user