summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/createlinkoperation.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-06-23 13:33:07 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-06-24 10:31:17 +0200
commit2ff4f0a8534f820131cc30392cb96b9c55fe7ab3 (patch)
tree891e49214d189b0619a53c96196d361067a68e74 /src/libs/installer/createlinkoperation.cpp
parent924ebcdbc9b9e590a5f0905941e2d05ac34d4be2 (diff)
Don't use QObject::tr().
Change-Id: Icefbff9851a4e096a4b800adea7d17db756abe99 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/installer/createlinkoperation.cpp')
-rw-r--r--src/libs/installer/createlinkoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/createlinkoperation.cpp b/src/libs/installer/createlinkoperation.cpp
index 02ff94df3..3cdc542ec 100644
--- a/src/libs/installer/createlinkoperation.cpp
+++ b/src/libs/installer/createlinkoperation.cpp
@@ -76,7 +76,7 @@ bool CreateLinkOperation::performOperation()
if (!link.exists()) {
setError(UserDefinedError);
- setErrorString(QObject::tr("Could not create link from %1 to %2.").arg(linkPath, targetPath));
+ setErrorString(tr("Could not create link from %1 to %2.").arg(linkPath, targetPath));
return false;
}
@@ -96,7 +96,7 @@ bool CreateLinkOperation::undoOperation()
}
if (!link.remove()) {
setError(UserDefinedError);
- setErrorString(QObject::tr("Could not remove link from %1 to %2.").arg(linkPath, targetPath));
+ setErrorString(tr("Could not remove link from %1 to %2.").arg(linkPath, targetPath));
return false;
}