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