forked from qt-creator/qt-creator
Compile fix (QT_NO_CAST_FROM_ASCII).
Change-Id: Id43f23bdd70b7cbb30a0dc7a20f98508244135df Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user