diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-09-11 16:42:25 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-09-13 11:21:34 -0700 |
commit | 0b8c8599c1ad20b977db8a1e5bb965af0e7d4a58 (patch) | |
tree | 55ad0426cbab6b86c9cc8666e2ad83b2ad813413 | |
parent | 3065eddbe1ce3755ba4648780c442d5bf9da6763 (diff) | |
download | subsurface-0b8c8599c1ad20b977db8a1e5bb965af0e7d4a58.tar.gz |
mobile: remove copyGpsFixesToClipboard interface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 10 | ||||
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 |
2 files changed, 0 insertions, 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); |