ExtensionSystem: Compile with QT_NO_CAST_FROM_ASCII

Change-Id: I304df103a1a4fba8112553a112ec0d7ed7bab496
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2012-11-27 22:23:17 +02:00
committed by Eike Ziller
parent 2db4fb4bea
commit 7c5ac43a87
6 changed files with 45 additions and 43 deletions

View File

@@ -105,7 +105,7 @@ bool OptionsParser::checkForTestOption()
if (m_currentArg != QLatin1String(TEST_OPTION))
return false;
if (nextToken(RequiredToken)) {
if(m_currentArg == "all") {
if (m_currentArg == QLatin1String("all")) {
foreach(PluginSpec *spec, m_pmPrivate->pluginSpecs) {
if (spec && !m_pmPrivate->testSpecs.contains(spec))
m_pmPrivate->testSpecs.append(spec);