mobile: remove copyGpsFixesToClipboard interface

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2021-09-11 16:42:25 -07:00
parent 3065eddbe1
commit 0b8c8599c1
2 changed files with 0 additions and 11 deletions

View file

@ -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";

View file

@ -217,7 +217,6 @@ public slots:
void cancelDownloadDC();
QString getCombinedLogs();
void copyAppLogToClipboard();
void copyGpsFixesToClipboard();
bool createSupportEmail();
void finishSetup();
QString getNumber(const QString& diveId);