summarylogtreecommitdiffstats
path: root/qtservice.patch
blob: 3eecfec3a0291776003a06a964be520fa65ae8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
 }