From 0b8c8599c1ad20b977db8a1e5bb965af0e7d4a58 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 11 Sep 2021 16:42:25 -0700 Subject: mobile: remove copyGpsFixesToClipboard interface Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.cpp | 10 ---------- mobile-widgets/qmlmanager.h | 1 - 2 files changed, 11 deletions(-) diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index ca2e33ece..8ee5d8353 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -491,16 +491,6 @@ void QMLManager::copyAppLogToClipboard() QApplication::clipboard()->setText(getCombinedLogs(), QClipboard::Clipboard); } -void QMLManager::copyGpsFixesToClipboard() -{ - // This of course creates a potential privacy issue, so let's be clear about that - QString gpsWarning("Sending these GPS data to someone exposes your location history; "); - gpsWarning += "they can, however, be helpful when debugging problems with the app. "; - gpsWarning += "Please consider carefully where you are seninding these data.\n\n"; - gpsWarning += GpsLocation::instance()->getFixString(); - QApplication::clipboard()->setText(gpsWarning, QClipboard::Clipboard); -} - bool QMLManager::createSupportEmail() { QString mailToLink = "mailto:in-app-support@subsurface-divelog.org?subject=Subsurface-mobile support request"; diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 14e9005b4..6210750af 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -217,7 +217,6 @@ public slots: void cancelDownloadDC(); QString getCombinedLogs(); void copyAppLogToClipboard(); - void copyGpsFixesToClipboard(); bool createSupportEmail(); void finishSetup(); QString getNumber(const QString& diveId); -- cgit v1.2.3-70-g09d2