diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/connectwindow/connectwindow.cpp | 4 | ||||
-rw-r--r-- | src/client/connectwindow/connectwindow.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/connectwindow/connectwindow.cpp b/src/client/connectwindow/connectwindow.cpp index a9f0996..7674cc2 100644 --- a/src/client/connectwindow/connectwindow.cpp +++ b/src/client/connectwindow/connectwindow.cpp @@ -40,7 +40,7 @@ ConnectWindow::ConnectWindow(QWidget *parent) : QWidget(parent) // Set actions of buttons connect(_ui->btn_connection, SIGNAL(clicked()), this, SLOT(onBtnConnection())); - connect(_ui->btn_hide, SIGNAL(clicked()), this, SLOT(onBtnCancel())); + connect(_ui->btn_hide, SIGNAL(clicked()), this, SLOT(onBtnHide())); connect(_ui->comboBox_rooms, SIGNAL(currentIndexChanged(int)), this, SLOT(onRoomSelection(int))); @@ -263,7 +263,7 @@ void ConnectWindow::setAvailableRooms(QList<Room> m) * Handle click on Cancel/Hide Button. * Just hide the window. */ -void ConnectWindow::onBtnCancel() +void ConnectWindow::onBtnHide() { this->hide(); } diff --git a/src/client/connectwindow/connectwindow.h b/src/client/connectwindow/connectwindow.h index a6c7942..9fcaf4e 100644 --- a/src/client/connectwindow/connectwindow.h +++ b/src/client/connectwindow/connectwindow.h @@ -83,7 +83,7 @@ protected: protected slots: void doShow(); void onBtnConnection(); - void onBtnCancel(); + void onBtnHide(); void onRoomSelection(int index); |