From beede095006753c14d6c0b5dec796263aa9578e4 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Sun, 4 Jan 2026 16:38:02 -0300 Subject: [PATCH] Deprecate VeloHero integration The service is being shutdown. Fixes #4782 --- {src/Cloud => deprecated}/Velohero.cpp | 0 {src/Cloud => deprecated}/Velohero.h | 0 .../images/services => deprecated}/velohero.png | Bin src/Core/Settings.cpp | 2 -- src/Core/Settings.h | 2 -- src/Resources/application.qrc | 1 - src/src.pro | 4 ++-- 7 files changed, 2 insertions(+), 7 deletions(-) rename {src/Cloud => deprecated}/Velohero.cpp (100%) rename {src/Cloud => deprecated}/Velohero.h (100%) rename {src/Resources/images/services => deprecated}/velohero.png (100%) diff --git a/src/Cloud/Velohero.cpp b/deprecated/Velohero.cpp similarity index 100% rename from src/Cloud/Velohero.cpp rename to deprecated/Velohero.cpp diff --git a/src/Cloud/Velohero.h b/deprecated/Velohero.h similarity index 100% rename from src/Cloud/Velohero.h rename to deprecated/Velohero.h diff --git a/src/Resources/images/services/velohero.png b/deprecated/velohero.png similarity index 100% rename from src/Resources/images/services/velohero.png rename to deprecated/velohero.png diff --git a/src/Core/Settings.cpp b/src/Core/Settings.cpp index 543ea5d35..933a03ab5 100644 --- a/src/Core/Settings.cpp +++ b/src/Core/Settings.cpp @@ -720,8 +720,6 @@ GSettings::upgradeAthlete(QString athlete) { // --- private --- // migrateCValue(athlete, GC_RWGPSUSER); migrateCValue(athlete, GC_RWGPSPASS); - migrateCValue(athlete, GC_VELOHEROUSER); - migrateCValue(athlete, GC_VELOHEROPASS); migrateCValue(athlete, GC_WIURL); migrateCValue(athlete, GC_WIUSER); migrateCValue(athlete, GC_WIKEY); diff --git a/src/Core/Settings.h b/src/Core/Settings.h index 9105c4dcd..884b40cc0 100644 --- a/src/Core/Settings.h +++ b/src/Core/Settings.h @@ -355,8 +355,6 @@ #define GC_RWGPS_AUTH_TOKEN "rwgps/auth_token" #define GC_TTBUSER "ttb/user" #define GC_TTBPASS "ttb/pass" -#define GC_VELOHEROUSER "velohero/user" -#define GC_VELOHEROPASS "velohero/pass" #define GC_SPORTPLUSHEALTHUSER "sph/user" #define GC_SPORTPLUSHEALTHPASS "sph/pass" #define GC_SELUSER "sel/user" diff --git a/src/Resources/application.qrc b/src/Resources/application.qrc index 988244f1e..cc988dcaa 100644 --- a/src/Resources/application.qrc +++ b/src/Resources/application.qrc @@ -235,7 +235,6 @@ images/services/sportplushealth.png images/services/strava.png images/services/trainingstagebuch.png - images/services/velohero.png images/services/polarflow.png images/services/sporttracks.png images/services/nolio.png diff --git a/src/src.pro b/src/src.pro index 1eb02bd34..4fe4f8e58 100644 --- a/src/src.pro +++ b/src/src.pro @@ -610,7 +610,7 @@ HEADERS += Charts/Aerolab.h Charts/AerolabWindow.h Charts/AllPlot.h Charts/AllPl HEADERS += Cloud/CalendarDownload.h Cloud/CloudService.h \ Cloud/LocalFileStore.h Cloud/OAuthDialog.h \ Cloud/WithingsDownload.h Cloud/Strava.h Cloud/CyclingAnalytics.h Cloud/RideWithGPS.h \ - Cloud/TrainingsTageBuch.h Cloud/Selfloops.h Cloud/Velohero.h Cloud/SportsPlusHealth.h \ + Cloud/TrainingsTageBuch.h Cloud/Selfloops.h Cloud/SportsPlusHealth.h \ Cloud/AddCloudWizard.h Cloud/Withings.h Cloud/MeasuresDownload.h Cloud/Xert.h \ Cloud/Azum.h @@ -720,7 +720,7 @@ SOURCES += Charts/Aerolab.cpp Charts/AerolabWindow.cpp Charts/AllPlot.cpp Charts SOURCES += Cloud/CalendarDownload.cpp Cloud/CloudService.cpp \ Cloud/LocalFileStore.cpp Cloud/OAuthDialog.cpp \ Cloud/WithingsDownload.cpp Cloud/Strava.cpp Cloud/CyclingAnalytics.cpp Cloud/RideWithGPS.cpp \ - Cloud/TrainingsTageBuch.cpp Cloud/Selfloops.cpp Cloud/Velohero.cpp Cloud/SportsPlusHealth.cpp \ + Cloud/TrainingsTageBuch.cpp Cloud/Selfloops.cpp Cloud/SportsPlusHealth.cpp \ Cloud/AddCloudWizard.cpp Cloud/Withings.cpp Cloud/MeasuresDownload.cpp Cloud/Xert.cpp \ Cloud/Azum.cpp