From: Olavi Pulkkinen Date: Wed, 10 Mar 2010 08:20:58 +0000 (+0200) Subject: Correction to set / change user X-Git-Tag: v0.1~64 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=8d87a577e3b6a4aaac96788d65b6656a151e1c30 Correction to set / change user removed unused function on_loginLogoutButton_clicked() prototype. Correction to function on_setUserPushButton_clicked(). --- diff --git a/Client/carmainwindow.cpp b/Client/carmainwindow.cpp index a3aa67a..1d17649 100644 --- a/Client/carmainwindow.cpp +++ b/Client/carmainwindow.cpp @@ -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"); } /** diff --git a/Client/carmainwindow.h b/Client/carmainwindow.h index 5ba97af..a7c7857 100644 --- a/Client/carmainwindow.h +++ b/Client/carmainwindow.h @@ -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*);