From c403f7a8022d4e6a2e9928c9be3b97e358500967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otakar=20Hir=C5=A1?= Date: Tue, 23 Aug 2022 10:31:24 +0200 Subject: [PATCH] fix: make API_URL private --- .../quickevent/plugins/Event/src/services/oresultsclient.cpp | 2 -- .../app/quickevent/plugins/Event/src/services/oresultsclient.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.cpp b/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.cpp index 6e7a296f4..fd7962425 100644 --- a/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.cpp +++ b/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.cpp @@ -32,8 +32,6 @@ using Runs::RunsPlugin; namespace Event { namespace services { -const QString API_URL = "https://api.oresults.eu"; - OResultsClient::OResultsClient(QObject *parent) : Super(OResultsClient::serviceName(), parent) { diff --git a/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.h b/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.h index 345803406..00c4eb22b 100644 --- a/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.h +++ b/quickevent/app/quickevent/plugins/Event/src/services/oresultsclient.h @@ -45,6 +45,7 @@ class OResultsClient : public Service QTimer *m_exportTimer = nullptr; QNetworkAccessManager *m_networkManager = nullptr; void sendFile(QString name, QString request_path, QString file); + const QString API_URL = "https://api.oresults.eu"; }; }}