From 462515134f439b13765e2e8dcb04b1c667480a89 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sun, 11 Apr 2021 14:56:36 +0300 Subject: [PATCH] UI: Program can be run as service for debugging. --- src/ui/fortsettings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/fortsettings.cpp b/src/ui/fortsettings.cpp index 97327a3c..6c33ba53 100644 --- a/src/ui/fortsettings.cpp +++ b/src/ui/fortsettings.cpp @@ -132,7 +132,9 @@ void FortSettings::processArguments(const QStringList &args, EnvManager *envMana } // Is service - m_isService = parser.isSet(serviceOption); + if (parser.isSet(serviceOption)) { + m_isService = m_hasService = true; + } // Profile Path if (parser.isSet(profileOption)) {