Changed: Quit menu item

--HG--
branch : develop
This commit is contained in:
kervala 2016-06-11 17:03:37 +02:00
parent a9ec60ad69
commit 8f88b352ab
2 changed files with 8 additions and 0 deletions

View file

@ -41,6 +41,7 @@ CMainWindow::CMainWindow():QMainWindow()
connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles())); connect(actionProfiles, SIGNAL(triggered()), SLOT(onProfiles()));
connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall())); connect(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall()));
connect(actionQuit, SIGNAL(triggered()), SLOT(onQuit()));
connect(playButton, SIGNAL(clicked()), SLOT(onPlayClicked())); connect(playButton, SIGNAL(clicked()), SLOT(onPlayClicked()));
connect(configureButton, SIGNAL(clicked()), SLOT(onConfigureClicked())); connect(configureButton, SIGNAL(clicked()), SLOT(onConfigureClicked()));
@ -163,6 +164,11 @@ void CMainWindow::onUninstall()
} }
} }
void CMainWindow::onQuit()
{
close();
}
void CMainWindow::onAbout() void CMainWindow::onAbout()
{ {
QString br("<br>"); QString br("<br>");

View file

@ -43,6 +43,8 @@ public slots:
void onProfiles(); void onProfiles();
void onUninstall(); void onUninstall();
void onQuit();
void onAbout(); void onAbout();
void onAboutQt(); void onAboutQt();