summarylogtreecommitdiffstats
path: root/qtservice.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qtservice.patch')
-rw-r--r--qtservice.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/qtservice.patch b/qtservice.patch
new file mode 100644
index 000000000000..3eecfec3a029
--- /dev/null
+++ b/qtservice.patch
@@ -0,0 +1,21 @@
+diff --git a/server/kptservice.cpp b/server/kptservice.cpp
+index 4cd5bb9..f959e6c 100644
+--- a/server/kptservice.cpp
++++ b/server/kptservice.cpp
+@@ -33,13 +33,13 @@ QtService::Service::CommandResult KPTService::onStart()
+ static_cast<quint16>(_settings->value(QStringLiteral("server/port"), 27352).toUInt()));
+ }
+ if(!ok)
+- return OperationFailed;
++ return CommandResult::Failed;
+
+- return OperationCompleted;
++ return CommandResult::Completed;
+ }
+
+ QtService::Service::CommandResult KPTService::onStop(int &exitCode)
+ {
+ exitCode = EXIT_SUCCESS;
+- return OperationCompleted;
++ return CommandResult::Completed;
+ }