Make some functions inline

This commit is contained in:
Konstantinos Sideris 2018-01-13 17:52:23 +02:00
parent 3929261a8e
commit d3603606e7
2 changed files with 25 additions and 46 deletions

View file

@ -223,30 +223,6 @@ MainWindow::showChatPage(QString userid, QString homeserver, QString token)
instance_ = this;
}
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)
{