Commit 8726dafa authored by Scott Wheeler's avatar Scott Wheeler

Don't tell the user about the docking in the sys-tray thingie if we're

shutting down for session management.

CCMAIL:66616-done@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=264766
parent a3a4a570
......@@ -705,7 +705,11 @@ bool JuK::queryExit()
bool JuK::queryClose()
{
if(!m_shuttingDown && m_systemTray && m_toggleDockOnCloseAction->isChecked()) {
if(!m_shuttingDown &&
!kapp->sessionSaving() &&
m_systemTray &&
m_toggleDockOnCloseAction->isChecked())
{
KMessageBox::information(this,
i18n("<qt>Closing the main window will keep JuK running in the system tray. "
"Use Quit from the File menu to quit the application.</qt>"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment