Location service: add ability to delete all stored GPS fixes

This may need an "are you sure" confirmation dialog...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-13 17:20:45 -08:00
parent fcbc013cb4
commit 577da54454
4 changed files with 19 additions and 0 deletions

View file

@ -158,6 +158,11 @@ void QMLManager::applyGpsData()
locationProvider->applyLocations();
}
void QMLManager::clearGpsData()
{
locationProvider->clearGpsData();
}
QString QMLManager::logText() const
{
QString logText = m_logText + QString("\nNumer of GPS fixes: %1").arg(locationProvider->getGpsNum());