summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2018-08-03 14:05:58 +0200
committerSimon Rettberg2018-08-03 14:05:58 +0200
commitb0e65477adebf5a6d0118706e2e90883f5f24df5 (patch)
treea3a447dcb4701a52f872e607fb5c4f06c661aae1 /src
parent[server] Show drop position when moving frame around (diff)
downloadpvs2-b0e65477adebf5a6d0118706e2e90883f5f24df5.tar.gz
pvs2-b0e65477adebf5a6d0118706e2e90883f5f24df5.tar.xz
pvs2-b0e65477adebf5a6d0118706e2e90883f5f24df5.zip
[client] ConnectWindow: Cancel -> Close
Diffstat (limited to 'src')
-rw-r--r--src/client/connectwindow/connectwindow.cpp4
-rw-r--r--src/client/connectwindow/connectwindow.h2
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);