summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/packagemanagercore.cpp2
-rw-r--r--src/libs/kdtools/updateoperation.cpp13
-rw-r--r--src/sdk/translations/ifw_ja.ts4
3 files changed, 9 insertions, 10 deletions
diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp
index 5e98ea1de..d2c732ddb 100644
--- a/src/libs/installer/packagemanagercore.cpp
+++ b/src/libs/installer/packagemanagercore.cpp
@@ -2702,6 +2702,8 @@ PackageManagerCore::Status PackageManagerCore::installSelectedComponentsSilently
QString errorMessage;
if (checkComponentsForInstallation(components, errorMessage)) {
+ if (!errorMessage.isEmpty())
+ qCDebug(QInstaller::lcInstallerInstallLog).noquote().nospace() << errorMessage;
if (d->calculateComponentsAndRun())
qCDebug(QInstaller::lcInstallerInstallLog) << "Components installed successfully";
} else {
diff --git a/src/libs/kdtools/updateoperation.cpp b/src/libs/kdtools/updateoperation.cpp
index c3961663a..998d33094 100644
--- a/src/libs/kdtools/updateoperation.cpp
+++ b/src/libs/kdtools/updateoperation.cpp
@@ -549,21 +549,18 @@ bool UpdateOperation::fromXml(const QDomDocument &doc)
if (!e.isNull() && e.tagName() == QLatin1String("argument")) {
// Sniff the Execute -operations file path separator. The operation might be
// strict with the used path separator
+ bool useCleanPath = true;
if (name() == QLatin1String("Execute")) {
if (e.text().startsWith(relocatable) && e.text().size() > relocatable.size()) {
const QChar separator = e.text().at(relocatable.size());
if (separator == QLatin1Char('\\')) {
- args << QInstaller::replacePath(e.text(), relocatable,
- QDir::toNativeSeparators(target), false);
+ target = QDir::toNativeSeparators(target);
+ useCleanPath = false;
}
- } else {
- args << QInstaller::replacePath(e.text(), relocatable,
- target);
}
- } else {
- args << QInstaller::replacePath(e.text(), relocatable,
- target);
}
+ args << QInstaller::replacePath(e.text(), relocatable,
+ target, useCleanPath);
}
}
setArguments(args);
diff --git a/src/sdk/translations/ifw_ja.ts b/src/sdk/translations/ifw_ja.ts
index c9358f71b..9f5cb3b6c 100644
--- a/src/sdk/translations/ifw_ja.ts
+++ b/src/sdk/translations/ifw_ja.ts
@@ -1088,7 +1088,7 @@
</message>
<message>
<source>Unsupported archive &quot;%1&quot;: no handler registered for file suffix &quot;%2&quot;.</source>
- <translation>&quot;%1&quot; は非サポートのアーカイブです、拡張子 &quot;%2&quot; ファイルのハンドラが登録されていません</translation>
+ <translation>&quot;%1&quot; は非サポートのアーカイブです。拡張子 &quot;%2&quot; ファイルのハンドラが登録されていません</translation>
</message>
</context>
<context>
@@ -1574,7 +1574,7 @@ Error while loading %2</source>
</message>
<message>
<source>Unsupported archive &quot;%1&quot;: no handler registered for file suffix &quot;%2&quot;.</source>
- <translation>&quot;%1&quot; は非サポートのアーカイブです、拡張子 &quot;%2&quot; ファイルのハンドラが登録されていません</translation>
+ <translation>&quot;%1&quot; は非サポートのアーカイブです。拡張子 &quot;%2&quot; ファイルのハンドラが登録されていません</translation>
</message>
</context>
<context>