summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/checkcloudconnection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/checkcloudconnection.cpp b/core/checkcloudconnection.cpp
index 69f2b9a6d..f3e064c16 100644
--- a/core/checkcloudconnection.cpp
+++ b/core/checkcloudconnection.cpp
@@ -103,6 +103,5 @@ extern "C" bool canReachCloudServer()
{
if (verbose)
qWarning() << "Cloud storage: checking connection to cloud server";
- CheckCloudConnection *checker = new CheckCloudConnection;
- return checker->checkServer();
+ return CheckCloudConnection().checkServer();
}