Correction to set / change user
authorOlavi Pulkkinen <olavi.pulkkinen@webinfo.fi>
Wed, 10 Mar 2010 08:20:58 +0000 (10:20 +0200)
committerOlavi Pulkkinen <olavi.pulkkinen@webinfo.fi>
Wed, 10 Mar 2010 08:20:58 +0000 (10:20 +0200)
removed unused function on_loginLogoutButton_clicked() prototype.
Correction to function on_setUserPushButton_clicked().

Client/carmainwindow.cpp
Client/carmainwindow.h

index a3aa67a..1d17649 100644 (file)
@@ -212,15 +212,6 @@ void CarMainWindow::openResultView()
     //ui->tabWidget->setCurrentWidget(this->ui->tabMeasureResult);
 }
 
-
-/**
-  *This slot function is called when login/logout button is clicked.
-  */
-void CarMainWindow::on_loginLogoutButton_clicked()
-{
-    myLogin->show();
-}
-
 /**
   *This slot function is called when registrate button is clicked.
   */
@@ -262,9 +253,6 @@ void CarMainWindow::on_comboBoxTopCategory_activated(QString category)
 void CarMainWindow::on_setUserPushButton_clicked()
 {
     myLogin->show();
-
-    ui->userNameLabel->setText( "User: " + myLogin->getUserName());
-    ui->setUserPushButton->setText( "Change User");
 }
 
 /**
index 5ba97af..a7c7857 100644 (file)
@@ -90,7 +90,6 @@ private slots:
     void on_manualStartButton_clicked();
     void on_setUserPushButton_clicked();
     void on_registratePushButton_clicked();
-    void on_loginLogoutButton_clicked();
     void on_comboBoxTopCategory_activated(QString );
     //void on_pushButton_clicked();
     void networkResponse(QNetworkReply*);