Compile fix (QT_NO_CAST_FROM_ASCII).

Change-Id: Id43f23bdd70b7cbb30a0dc7a20f98508244135df
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2012-08-24 12:43:47 +02:00
committed by hjk
parent 36f6c02f1c
commit dd69bb67f7
2 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ bool openRegistryKey(HKEY category, // HKEY_LOCAL_MACHINE, etc.
if (rc != ERROR_SUCCESS) {
*errorMessage = msgFunctionFailed("RegOpenKeyEx", rc);
if (readWrite)
*errorMessage += "You need administrator privileges to edit the registry.";
*errorMessage += QLatin1String("You need administrator privileges to edit the registry.");
return false;
}
return true;
@@ -128,7 +128,7 @@ QString debuggerCall(const QString &additionalOption)
QString rc;
QTextStream str(&rc);
str << '"' << QDir::toNativeSeparators(QApplication::applicationDirPath() + QLatin1Char('/')
+ debuggerApplicationFileC + QLatin1String(".exe")) << '"';
+ QLatin1String(debuggerApplicationFileC) + QLatin1String(".exe")) << '"';
if (!additionalOption.isEmpty())
str << ' ' << additionalOption;
str << " %ld %ld";