From 7845a26f6ff58936af272ee3885603e951e17eee Mon Sep 17 00:00:00 2001 From: Niels Weber Date: Fri, 8 Feb 2013 11:15:21 +0100 Subject: Small cleanup Change-Id: I979f4f1542921da26b473d5f9ab9b1aadceafea7 Reviewed-by: Tim Jenssen --- src/libs/installer/selfrestartoperation.cpp | 2 +- src/libs/installer/setdemospathonqtoperation.cpp | 2 +- src/libs/installer/simplemovefileoperation.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/libs/installer/selfrestartoperation.cpp b/src/libs/installer/selfrestartoperation.cpp index 633bd03c1..fbe24123e 100644 --- a/src/libs/installer/selfrestartoperation.cpp +++ b/src/libs/installer/selfrestartoperation.cpp @@ -61,7 +61,7 @@ bool SelfRestartOperation::performOperation() PackageManagerCore *const core = value(QLatin1String("installer")).value(); if (!core) { setError(UserDefinedError); - setErrorString(tr("Needed installer object in \"%1\" operation is empty.").arg(name())); + setErrorString(tr("Installer object needed in '%1' operation is empty.").arg(name())); return false; } diff --git a/src/libs/installer/setdemospathonqtoperation.cpp b/src/libs/installer/setdemospathonqtoperation.cpp index a013ad0cb..b18646177 100644 --- a/src/libs/installer/setdemospathonqtoperation.cpp +++ b/src/libs/installer/setdemospathonqtoperation.cpp @@ -82,7 +82,7 @@ bool SetDemosPathOnQtOperation::performOperation() if (qmakeValueHash.isEmpty()) { setError(UserDefinedError); - setErrorString(tr("The output of \n%1 -query\nis not parseable. Please file a bugreport with this " + setErrorString(tr("The output of \n'%1 -query'\nis not parseable. Please file a bugreport with this " "dialog at https://bugreports.qt-project.org.\noutput: %2").arg(QDir::toNativeSeparators(qmakePath), QString::fromUtf8(qmakeOutput))); return false; diff --git a/src/libs/installer/simplemovefileoperation.cpp b/src/libs/installer/simplemovefileoperation.cpp index ae415b058..2985c562a 100644 --- a/src/libs/installer/simplemovefileoperation.cpp +++ b/src/libs/installer/simplemovefileoperation.cpp @@ -69,7 +69,7 @@ bool SimpleMoveFileOperation::performOperation() if (source.isEmpty() || target.isEmpty()) { setError(UserDefinedError); - setErrorString(tr("None of the arguments can be empty: source (%1), target (%2).") + setErrorString(tr("None of the arguments can be empty: source '%1', target '%2'.") .arg(source, target)); return false; } -- cgit v1.2.3