Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 51d56c27 authored by Scott Wheeler's avatar Scott Wheeler

CVS_SILENT add a comment explaining why we're explicitly deleting the

PlaylistBox

svn path=/trunk/kdemultimedia/juk/; revision=317188
parent 9d63eae8
...@@ -50,6 +50,11 @@ PlaylistSplitter::PlaylistSplitter(QWidget *parent, const char *name) : ...@@ -50,6 +50,11 @@ PlaylistSplitter::PlaylistSplitter(QWidget *parent, const char *name) :
PlaylistSplitter::~PlaylistSplitter() PlaylistSplitter::~PlaylistSplitter()
{ {
saveConfig(); saveConfig();
// Since we want to ensure that the shutdown process for the PlaylistCollection
// (a base class for PlaylistBox) has a chance to write the playlists to disk
// before they are deleted we're explicitly deleting the PlaylistBox here.
delete m_playlistBox; delete m_playlistBox;
} }
......
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