From 8f88b352ab241a13594827c31e2e6899b85a41ca Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 11 Jun 2016 17:03:37 +0200 Subject: [PATCH] Changed: Quit menu item --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp | 6 ++++++ code/ryzom/tools/client/ryzom_installer/src/mainwindow.h | 2 ++ 2 files changed, 8 insertions(+) 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();