From e23bf213f735d4c96f690909dea0c17633450502 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 28 Aug 2011 17:56:03 +0200 Subject: Revert "Revert "Fix quit action"" This reverts commit c3f9448a94baa423eed5977c9e66cd7be9b73a76. Let the quit action really work --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 28480d03..84068837 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -322,7 +322,7 @@ void MainWindow::setupActions() KStandardAction::open(this, SLOT(fileOpen()), actionCollection()); KStandardAction::saveAs(this, SLOT(fileSaveAs()), actionCollection()); KStandardAction::print(this, SLOT(printRequested()), actionCollection()); - KStandardAction::quit(this , SLOT(close()), actionCollection()); + KStandardAction::quit(rApp, SLOT(quit()), actionCollection()); a = KStandardAction::find(m_findBar, SLOT(show()), actionCollection()); KShortcut findShortcut = KStandardShortcut::find(); -- cgit v1.2.1