Commit cec81130 authored by Michael Pyne's avatar Michael Pyne

Fix a bug in trunk causing JuK to close (not crash although that's what it looks like) when:

* JuK is closed to system tray
* You click on the cover in the track announcement popup, and
* You close the big cover that pops up.

In this situation, Qt thinks that the "last window" has closed and quit()s JuK.


svn path=/trunk/KDE/kdemultimedia/juk/; revision=811012
parent 9bbf387d
......@@ -74,6 +74,11 @@ int main(int argc, char *argv[])
KUniqueApplication a;
// If this flag gets set then JuK will quit if you click the cover on the track
// announcement popup when JuK is only in the system tray (the systray has no widget).
a.setQuitOnLastWindowClosed(false);
// Here we do some DCOP locking of sorts to prevent incoming DCOP calls
// before JuK has finished its initialization.
......
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