summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/extractarchiveoperation_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/extractarchiveoperation_p.h')
-rw-r--r--src/libs/installer/extractarchiveoperation_p.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libs/installer/extractarchiveoperation_p.h b/src/libs/installer/extractarchiveoperation_p.h
index 846bda83a..44e75a949 100644
--- a/src/libs/installer/extractarchiveoperation_p.h
+++ b/src/libs/installer/extractarchiveoperation_p.h
@@ -190,12 +190,7 @@ public:
Lib7z::extractArchive(&archive, targetDir, callback);
emit finished(true, QString());
} catch (const Lib7z::SevenZipException& e) {
-#ifdef Q_OS_WIN
- emit finished(false, tr("Error while extracting %1: %2. (Maybe the target dir(%3) is blocked by "
- "another process.)").arg(archivePath, e.message(), targetDir));
-#else
- emit finished(false, tr("Error while extracting %1: %2.").arg(archivePath, e.message()));
-#endif
+ emit finished(false, tr("Error while extracting '%1': %2").arg(archivePath, e.message()));
} catch (...) {
emit finished(false, tr("Unknown exception caught while extracting %1.").arg(archivePath));
}