summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/extractarchiveoperation.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/installer/extractarchiveoperation.cpp b/src/libs/installer/extractarchiveoperation.cpp
index ba0591c84..b5bf96954 100644
--- a/src/libs/installer/extractarchiveoperation.cpp
+++ b/src/libs/installer/extractarchiveoperation.cpp
@@ -212,10 +212,11 @@ bool ExtractArchiveOperation::readDataFileContents(QString &targetDir, QStringLi
resultList->replace(i, replacePath(resultList->at(i), QLatin1String(scRelocatable), targetDir));
} else {
- setError(UserDefinedError);
- setErrorString(tr("Cannot open file \"%1\" for reading: %2")
- .arg(QDir::toNativeSeparators(file.fileName())).arg(file.errorString()));
- return false;
+ // We should not be here. Either user has manually deleted the installer related
+ // files or same component is installed several times.
+ qWarning() << "Cannot open file " << file.fileName() << " for reading:"
+ << file.errorString() << ". Component is already uninstalled "
+ << "or file is manually deleted.";
}
return true;
}