Correction to new route dialog
authorOlavi Pulkkinen <olavi.pulkkinen@fudeco.com>
Mon, 29 Mar 2010 11:08:51 +0000 (14:08 +0300)
committerOlavi Pulkkinen <olavi.pulkkinen@fudeco.com>
Mon, 29 Mar 2010 11:08:51 +0000 (14:08 +0300)
-Added missing dialog name to dialog bar
-corrected to show max speed value using right label name

Client/routedialog.cpp

index 61e4434..2130e75 100644 (file)
@@ -167,6 +167,7 @@ RouteDialog::RouteDialog(QWidget *parent) :
     ui(new Ui::RouteDialog)
 {
     ui->setupUi(this);
+    this->setWindowTitle("Route");
     left = 5; top = 5; right = 495; bottom = 295; // Limits in screen coordinates
 }
 
@@ -348,7 +349,7 @@ void RouteDialog::paintEvent(QPaintEvent *)
 
         QString jono;
         jono = QString("%1 m/s").arg(maxv);
-        ui->maxSpeedLabel->setText(jono);
+        ui->speedValueLabel->setText(jono);
     }
 }