Revision 1236078

Go back to digest for 12th June 2011

Bug Fixes in Multimedia

Giorgos Kylafas committed changes in /branches/KDE/4.6/kdemultimedia/juk/juk.cpp:

juk: save the collection list cache no matter how the app exits.

Cache::save() was called from JuK::slotQuit(), which was triggered only
by "File->Quit". So, the cache was not saved when closing the window or
right-clicking the system tray and selecting "Quit",

JuK::queryExit() is called in every case, so put Cache::save() there.
Besides, according to KMainWindow's documentation, "a typical usage of
queryExit() is to write configuration data back".

While at it, remove saveConfig() from slotQuit(), since it is already
being called from queryExit().

This is a backport of r1236077 from trunk to branch 4.6 (KDE SC 4.6.5).

File Changes

Modified 1 files
  • /branches/KDE/4.6/kdemultimedia/juk/juk.cpp
1 files changed in total