Commit 5203eac9 authored by Lorenz Meier's avatar Lorenz Meier

Make map less chatty and have it stop flickering the screen

parent 9f0f311a
...@@ -202,7 +202,7 @@ void QGCMapToolBar::setUpdateInterval() ...@@ -202,7 +202,7 @@ void QGCMapToolBar::setUpdateInterval()
if (ok) if (ok)
{ {
map->setUpdateRateLimit(time); map->setUpdateRateLimit(time);
ui->posLabel->setText(tr("Map update rate limit: %1 second%2").arg(time).arg((time != 1.0f) ? "s" : "")); ui->posLabel->setText(tr("Limit: %1 second%2").arg(time).arg((time != 1.0f) ? "s" : ""));
} }
} }
} }
...@@ -219,14 +219,14 @@ void QGCMapToolBar::setMapType() ...@@ -219,14 +219,14 @@ void QGCMapToolBar::setMapType()
if (ok) if (ok)
{ {
map->SetMapType((MapType::Types)mapType); map->SetMapType((MapType::Types)mapType);
ui->posLabel->setText(tr("Map type: %1").arg(mapType)); ui->posLabel->setText(tr("Map: %1").arg(mapType));
} }
} }
} }
void QGCMapToolBar::tileLoadStart() void QGCMapToolBar::tileLoadStart()
{ {
ui->posLabel->setText(tr("Starting to load tiles..")); ui->posLabel->setText(tr("Loading.."));
} }
void QGCMapToolBar::tileLoadEnd() void QGCMapToolBar::tileLoadEnd()
...@@ -238,11 +238,11 @@ void QGCMapToolBar::tileLoadProgress(int progress) ...@@ -238,11 +238,11 @@ void QGCMapToolBar::tileLoadProgress(int progress)
{ {
if (progress == 1) if (progress == 1)
{ {
ui->posLabel->setText(tr("1 tile to load..")); ui->posLabel->setText(tr("1 tile"));
} }
else if (progress > 0) else if (progress > 0)
{ {
ui->posLabel->setText(tr("%1 tiles to load..").arg(progress)); ui->posLabel->setText(tr("%1 tile").arg(progress));
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment