Summary: | "back to playlist" link does not work properly | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | Thomas McGuire <mcguire> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thomas McGuire
2005-03-01 18:06:35 UTC
SVN commit 467717 by mpyne: Fix bug 100572 (Back to playlist link always switches to Collection List) in KDE 3.5. CCBUG:100572 M +5 -1 playlistcollection.cpp --- branches/KDE/3.5/kdemultimedia/juk/playlistcollection.cpp #467716:467717 @@ -211,10 +211,14 @@ else m_showMorePlaylist = new SearchPlaylist(this, search, i18n("Now Playing"), false, true); - m_belowShowMorePlaylist = visiblePlaylist(); + // The call to raise() below will end up clearing m_belowShowMorePlaylist, + // so cache the value we want it to have now. + Playlist *belowShowMore = visiblePlaylist(); PlaylistCollection::setupPlaylist(m_showMorePlaylist, QString::null); PlaylistCollection::raise(m_showMorePlaylist); + + m_belowShowMorePlaylist = belowShowMore; } void PlaylistCollection::removeTrack(const QString &playlist, const QStringList &files) SVN commit 467718 by mpyne: Backport fix for bug 100572 (Back to playlist link always switches to Collection List) to KDE 3.4. It should be present in KDE 3.4.3. BUG:100572 M +5 -1 playlistcollection.cpp --- branches/KDE/3.4/kdemultimedia/juk/playlistcollection.cpp #467717:467718 @@ -209,10 +209,14 @@ else m_showMorePlaylist = new SearchPlaylist(this, search, i18n("Now Playing"), false, true); - m_belowShowMorePlaylist = visiblePlaylist(); + // The call to raise() below will end up clearing m_belowShowMorePlaylist, + // so cache the value we want it to have now. + Playlist *belowShowMore = visiblePlaylist(); PlaylistCollection::setupPlaylist(m_showMorePlaylist, QString::null); PlaylistCollection::raise(m_showMorePlaylist); + + m_belowShowMorePlaylist = belowShowMore; } void PlaylistCollection::removeTrack(const QString &playlist, const QStringList &files) |