summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/setqtcreatorvalueoperation.cpp
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2013-02-05 12:08:18 +0100
committerNiels Weber <niels.weber@digia.com>2013-02-07 16:43:33 +0100
commit1d7e30eca88a14c4a7a6333e51d70f8186c9e54a (patch)
tree4bf299eecc9793a3d4597e0f9df7d9be5a7d7c94 /src/libs/installer/setqtcreatorvalueoperation.cpp
parentb32aa577b9647a79537e9218748c9987d2129728 (diff)
Typos, style and language improvements.
Change-Id: Ibc7d4ea8319b48b908adad75aa3a43858667cdde Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/setqtcreatorvalueoperation.cpp')
-rw-r--r--src/libs/installer/setqtcreatorvalueoperation.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/installer/setqtcreatorvalueoperation.cpp b/src/libs/installer/setqtcreatorvalueoperation.cpp
index 7638d3c36..24e3ced4e 100644
--- a/src/libs/installer/setqtcreatorvalueoperation.cpp
+++ b/src/libs/installer/setqtcreatorvalueoperation.cpp
@@ -83,8 +83,8 @@ bool SetQtCreatorValueOperation::performOperation()
const QString &rootInstallPath = args.at(0); //for example "C:\\Nokia_SDK\\"
if (!rootInstallPath.isEmpty()) {
- qWarning() << QString::fromLatin1("Because of internal changes the first argument(\"%1\") on %2 "\
- "operation is just ignored, please be aware of that").arg(rootInstallPath, name());
+ qWarning() << QString::fromLatin1("Because of internal changes the first argument '%1' on '%2' "\
+ "operation is just ignored, please be aware of that.").arg(rootInstallPath, name());
}
const QString &group = groupName(args.at(1));
@@ -94,7 +94,7 @@ bool SetQtCreatorValueOperation::performOperation()
QString qtCreatorInstallerSettingsFileName = core->value(scQtCreatorInstallerSettingsFile);
if (qtCreatorInstallerSettingsFileName.isEmpty()) {
setError(UserDefinedError);
- setErrorString(tr("There is no value set for %1 on the installer object.").arg(
+ setErrorString(tr("There is no value set for '%1' on the installer object.").arg(
scQtCreatorInstallerSettingsFile));
return false;
}
@@ -121,8 +121,8 @@ bool SetQtCreatorValueOperation::undoOperation()
const QString &rootInstallPath = args.at(0); //for example "C:\\Nokia_SDK\\"
if (!rootInstallPath.isEmpty()) {
- qWarning() << QString::fromLatin1("Because of internal changes the first argument(\"%1\") on %2 "\
- "operation is just ignored, please be aware of that").arg(rootInstallPath, name());
+ qWarning() << QString::fromLatin1("Because of internal changes the first argument '%1' on '%2' "\
+ "operation is just ignored, please be aware of that.").arg(rootInstallPath, name());
}
const QString &group = groupName(args.at(1));
@@ -131,18 +131,18 @@ bool SetQtCreatorValueOperation::undoOperation()
PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>();
if (!core) {
setError(UserDefinedError);
- setErrorString(tr("Needed installer object in \"%1\" operation is empty.").arg(name()));
+ setErrorString(tr("Needed installer object in '%1' operation is empty.").arg(name()));
return false;
}
// default value is the old value to keep the possibility that old saved operations can run undo
#ifdef Q_OS_MAC
QString qtCreatorInstallerSettingsFileName = core->value(scQtCreatorInstallerSettingsFile,
- QString::fromLatin1("%1/Qt Creator.app/Contents/Resources/Nokia/QtCreator.ini").arg(
+ QString::fromLatin1("%1/Qt Creator.app/Contents/Resources/QtProject/QtCreator.ini").arg(
core->value(QLatin1String("TargetDir"))));
#else
QString qtCreatorInstallerSettingsFileName = core->value(scQtCreatorInstallerSettingsFile,
- QString::fromLatin1("%1/QtCreator/share/qtcreator/Nokia/QtCreator.ini").arg(core->value(
+ QString::fromLatin1("%1/QtCreator/share/qtcreator/QtProject/QtCreator.ini").arg(core->value(
QLatin1String("TargetDir"))));
#endif