summaryrefslogtreecommitdiffstats
path: root/src/sdk/sdkapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk/sdkapp.h')
-rw-r--r--src/sdk/sdkapp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sdk/sdkapp.h b/src/sdk/sdkapp.h
index ecc91699a..af7468731 100644
--- a/src/sdk/sdkapp.h
+++ b/src/sdk/sdkapp.h
@@ -141,6 +141,9 @@ public:
break;
}
}
+ if (m_parser.isSet(CommandLineOptions::scDeprecatedCheckUpdates))
+ isCommandLineInterface = true;
+
QString loggingRules;
if (m_parser.isSet(CommandLineOptions::scLoggingRulesLong)) {
loggingRules = m_parser.value(CommandLineOptions::scLoggingRulesLong)
@@ -194,7 +197,9 @@ public:
if (m_parser.isSet(CommandLineOptions::scShowVirtualComponentsLong))
QInstaller::PackageManagerCore::setVirtualComponentsVisible(true);
- if (m_parser.isSet(CommandLineOptions::scStartUpdaterLong)) {
+ // IFW 3.x.x style --updater option support provided for backward compatibility
+ if (m_parser.isSet(CommandLineOptions::scStartUpdaterLong)
+ || m_parser.isSet(CommandLineOptions::scDeprecatedUpdater)) {
if (m_core->isInstaller()) {
errorMessage = QObject::tr("Cannot start installer binary as updater.");
return false;