summaryrefslogtreecommitdiffstats
path: root/src/sdk
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk')
-rw-r--r--src/sdk/commandlineinterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdk/commandlineinterface.cpp b/src/sdk/commandlineinterface.cpp
index 59e9afe90..a63b2a5bf 100644
--- a/src/sdk/commandlineinterface.cpp
+++ b/src/sdk/commandlineinterface.cpp
@@ -264,7 +264,7 @@ bool CommandLineInterface::setTargetDir()
if (m_parser.isSet(CommandLineOptions::scRootLong)) {
targetDir = m_parser.value(CommandLineOptions::scRootLong);
} else {
- targetDir = m_core->value(QLatin1String("TargetDir"));
+ targetDir = m_core->value(QInstaller::scTargetDir);
qCDebug(QInstaller::lcInstallerInstallLog) << "No target directory specified, using default value:" << targetDir;
}
if (m_core->checkTargetDir(targetDir)) {
@@ -272,7 +272,7 @@ bool CommandLineInterface::setTargetDir()
if (!targetDirWarning.isEmpty()) {
qCWarning(QInstaller::lcInstallerInstallLog) << m_core->targetDirWarning(targetDir);
} else {
- m_core->setValue(QLatin1String("TargetDir"), targetDir);
+ m_core->setValue(QInstaller::scTargetDir, targetDir);
return true;
}
}