Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ad857620 authored by Laurent Montel's avatar Laurent Montel 😁


svn path=/trunk/KDE/kdemultimedia/juk/; revision=566676
parent ed4ad70b
......@@ -236,9 +236,9 @@ CollectionList::CollectionList(PlaylistCollection *collection) :
KAction *spaction = new KAction(i18n("Show Playing"), ActionCollection::actions(), "showPlaying");
connect(spaction, SIGNAL(triggered(bool) ), SLOT(slotShowPlaying()));
connect(action<KToolBarPopupAction>("back")->popupMenu(), SIGNAL(aboutToShow()),
connect(action<KToolBarPopupAction>("back")->menu(), SIGNAL(aboutToShow()),
this, SLOT(slotPopulateBackMenu()));
connect(action<KToolBarPopupAction>("back")->popupMenu(), SIGNAL(activated(int)),
connect(action<KToolBarPopupAction>("back")->menu(), SIGNAL(activated(int)),
this, SLOT(slotPlayFromBackMenu(int)));
setSorting(-1); // Temporarily disable sorting to add items faster.
......@@ -118,7 +118,7 @@ PlaylistBox::PlaylistBox(QWidget *parent, Q3WidgetStack *playlistStack) :
#warning This needs to be ported to proper QActions
#if 0
QMenu *p = viewModeAction->popupMenu();
QMenu *p = viewModeAction->menu();
p->changeItem(0, SmallIconSet("view_detailed"), modeNames[0]);
p->changeItem(1, SmallIconSet("view_text"), modeNames[1]);
p->changeItem(2, SmallIconSet("view_tree"), modeNames[2]);
......@@ -112,7 +112,7 @@ public:
* @return the current KMenu used by the manager, or 0 if none is
* set
KMenu *popupMenu() const { return m_popupMenu; }
KMenu *menu() const { return m_popupMenu; }
* @return the TrackSequenceManager's idea of the current playlist
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