Analyzerbase: Compile with QT_NO_CAST_FROM_ASCII.

Change-Id: If5ad70222983d5dede57fb7443262a736114b85e
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2012-01-25 17:39:50 +01:00
committed by hjk
parent d967856b60
commit accde26139
5 changed files with 30 additions and 30 deletions

View File

@@ -118,7 +118,7 @@ void AnalyzerRunControl::start()
// clear about-to-be-outdated tasks
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
TaskHub *hub = pm->getObject<TaskHub>();
hub->clearTasks(Constants::ANALYZERTASK_ID);
hub->clearTasks(QLatin1String(Constants::ANALYZERTASK_ID));
if (d->m_engine->start()) {
d->m_isRunning = true;
@@ -179,7 +179,7 @@ void AnalyzerRunControl::addTask(Task::TaskType type, const QString &description
{
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
TaskHub *hub = pm->getObject<TaskHub>();
hub->addTask(Task(type, description, file, line, Constants::ANALYZERTASK_ID));
hub->addTask(Task(type, description, file, line, QLatin1String(Constants::ANALYZERTASK_ID)));
hub->popup(false);
}