[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/utils/kpager
From: Pino Toscano <pino () kde ! org>
Date: 2015-11-18 23:51:03
Message-ID: E1ZzCVD-0006XT-T6 () scm ! kde ! org
[Download RAW message or body]
SVN commit 1444547 by pino:
clean exit on RMB quit
when asking to quit the application using the "quit" entry in the
context menu, use KPagerMainWindow::reallyClose() instead of asking
the application to exit: reallyClose() make sure the main window is
closed for real (bypassing the delayed quit logic), which in turn will
quit the application (as it was the last window)
M +1 -1 kpager.cpp
--- trunk/extragear/utils/kpager/kpager.cpp #1444546:1444547
@@ -246,7 +246,7 @@
setFont(Settings::font());
m_prefs_action = parent->actionCollection()->addAction( \
KStandardAction::Preferences, this, SLOT(configureDialog()) );
- m_quit_action = parent->actionCollection()->addAction( KStandardAction::Quit, \
qApp, SLOT(quit()) ); + m_quit_action = parent->actionCollection()->addAction( \
KStandardAction::Quit, parent, SLOT(reallyClose()) );
updateLayout();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic