From 8d87a577e3b6a4aaac96788d65b6656a151e1c30 Mon Sep 17 00:00:00 2001 From: Olavi Pulkkinen Date: Wed, 10 Mar 2010 10:20:58 +0200 Subject: [PATCH] Correction to set / change user removed unused function on_loginLogoutButton_clicked() prototype. Correction to function on_setUserPushButton_clicked(). --- Client/carmainwindow.cpp | 12 ------------ Client/carmainwindow.h | 1 - 2 files changed, 13 deletions(-) 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*); -- 1.7.9.5