Changed: Quit menu item
This commit is contained in:
parent
c4ad0d6ffb
commit
5d38f4f14d
2 changed files with 8 additions and 0 deletions
|
@ -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>");
|
||||
|
|
|
@ -43,6 +43,8 @@ public slots:
|
|||
|
||||
void onProfiles();
|
||||
void onUninstall();
|
||||
void onQuit();
|
||||
|
||||
void onAbout();
|
||||
void onAboutQt();
|
||||
|
||||
|
|
Loading…
Reference in a new issue