Changed: Quit menu item

This commit is contained in:
kervala 2016-06-11 17:03:37 +02:00
parent 53837c0938
commit ba121d3bdd
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(actionUninstall, SIGNAL(triggered()), SLOT(onUninstall()));
connect(actionQuit, SIGNAL(triggered()), SLOT(onQuit()));
connect(playButton, SIGNAL(clicked()), SLOT(onPlayClicked()));
connect(configureButton, SIGNAL(clicked()), SLOT(onConfigureClicked()));
@ -163,6 +164,11 @@ void CMainWindow::onUninstall()
}
}
void CMainWindow::onQuit()
{
close();
}
void CMainWindow::onAbout()
{
QString br("<br>");

View file

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