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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sdk/sdkapp.h b/src/sdk/sdkapp.h
index ab0b9eb2f..3c0dd0da8 100644
--- a/src/sdk/sdkapp.h
+++ b/src/sdk/sdkapp.h
@@ -274,6 +274,11 @@ public:
.isSet(CommandLineOptions::scCreateLocalRepositoryLong)
|| m_core->settings().createLocalRepository());
+ if (m_parser.isSet(CommandLineOptions::scAcceptMessageQuery))
+ m_core->autoAcceptMessageBoxes();
+ if (m_parser.isSet(CommandLineOptions::scRejectMessageQuery))
+ m_core->autoRejectMessageBoxes();
+
return true;
}