diff options
author | Skycoder42 | 2019-03-09 18:33:50 +0100 |
---|---|---|
committer | Skycoder42 | 2019-03-09 18:33:50 +0100 |
commit | 504f026cb03142197dc5aae1714da9f7ddd52390 (patch) | |
tree | 054f00925837adfcd51b7886b892e160adfa9587 /qtservice.patch | |
parent | aa4378892d971048fb218373b75438860b3b728d (diff) | |
download | aur-504f026cb03142197dc5aae1714da9f7ddd52390.tar.gz |
Patched to work with qt5-service>=2.0.0
Diffstat (limited to 'qtservice.patch')
-rw-r--r-- | qtservice.patch | 21 |
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; + } |