diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-13 17:52:23 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-13 17:52:23 +0200 |
commit | d3603606e7ed66953fded300d7ecfaffc6e33799 (patch) | |
tree | eaa1488c05d823c5c258f52a89860218f6531ece /src/MainWindow.cc | |
parent | 3929261a8e41bd9a716b168269208c08491277a8 (diff) |
Make some functions inline
Diffstat (limited to 'src/MainWindow.cc')
-rw-r--r-- | src/MainWindow.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/MainWindow.cc b/src/MainWindow.cc index f2b7005b..fb55d189 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc @@ -224,30 +224,6 @@ MainWindow::showChatPage(QString userid, QString homeserver, QString token) } void -MainWindow::showWelcomePage() -{ - pageStack_->setCurrentWidget(welcome_page_); -} - -void -MainWindow::showLoginPage() -{ - pageStack_->setCurrentWidget(login_page_); -} - -void -MainWindow::showRegisterPage() -{ - pageStack_->setCurrentWidget(register_page_); -} - -void -MainWindow::showUserSettingsPage() -{ - pageStack_->setCurrentWidget(userSettingsPage_); -} - -void MainWindow::closeEvent(QCloseEvent *event) { if (isVisible() && userSettings_->isTrayEnabled()) { |