]> Some of my projects - localmylist.git/commitdiff
Implement the quit action.
authorAPTX <marek321@gmail.com>
Mon, 23 Mar 2015 22:04:43 +0000 (23:04 +0100)
committerAPTX <marek321@gmail.com>
Mon, 23 Mar 2015 22:04:43 +0000 (23:04 +0100)
localmylist-management/mainwindow.cpp
localmylist-management/mainwindow.h

index d8f1fbb2a49e2432690923ef976a18d112b8f3f2..f2c7425537d2ddb687dba8e7a8f8d02a4193601a 100644 (file)
@@ -372,3 +372,8 @@ void MainWindow::on_actionSettings_triggered()
 
        d.apply();
 }
+
+void MainWindow::on_actionQuit_triggered()
+{
+       qApp->quit();
+}
index c1d608c512f9b80ec3479370c5c546e06a842473..6e9cf46bf4e7f11742e11c8450848a547f51c785 100644 (file)
@@ -81,6 +81,8 @@ private slots:
 
        void on_actionSettings_triggered();
 
+       void on_actionQuit_triggered();
+
 protected:
        void dragEnterEvent(QDragEnterEvent *event);
        void dropEvent(QDropEvent *event);