diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp index 217d67018..65c9c3ca3 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp @@ -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("
"); diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.h b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.h index fbd4ec1aa..e52d47cb1 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.h +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.h @@ -43,6 +43,8 @@ public slots: void onProfiles(); void onUninstall(); + void onQuit(); + void onAbout(); void onAboutQt();