Commit 303d991a authored by Scott Wheeler's avatar Scott Wheeler

Clear/restore the search text when switching playlists (was a regression).

svn path=/trunk/kdemultimedia/juk/; revision=331912
parent 5e84a389
......@@ -81,6 +81,9 @@ void PlaylistSplitter::setupLayout()
QVBoxLayout *topLayout = new QVBoxLayout(top);
m_playlistStack = new QWidgetStack(top, "playlistStack");
connect(m_playlistStack, SIGNAL(aboutToShow(int)), this, SLOT(slotPlaylistChanged()));
m_editor = new TagEditor(editorSplitter, "tagEditor");
// Make the editor as small as possible (or at least as small as recommended)
......@@ -154,4 +157,9 @@ void PlaylistSplitter::slotPlaylistSelectionChanged()
m_editor->slotSetItems(static_cast<PlaylistCollection *>(m_playlistBox)->selectedItems());
void PlaylistSplitter::slotPlaylistChanged()
#include "playlistsplitter.moc"
......@@ -70,6 +70,7 @@ private slots:
void slotShowSearchResults();
void slotPlaylistSelectionChanged();
void slotPlaylistChanged();
PlaylistBox *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