Commit ac3c7e42 authored by Michael Pyne's avatar Michael Pyne

Fix bug 87332 (Statusbar doesn't update when changing tags of playing item).

Will backport to 3.3

CCMAIL:87332@bugs.kde.org

svn path=/trunk/kdemultimedia/juk/; revision=351051
parent f80d0384
......@@ -99,6 +99,8 @@ void JuK::setupLayout()
setCentralWidget(m_splitter);
m_statusLabel = new StatusLabel(m_splitter->playlist(), statusBar());
connect(CollectionList::instance(), SIGNAL(signalCollectionChanged()),
m_statusLabel, SLOT(updateData()));
statusBar()->addWidget(m_statusLabel, 1);
PlayerManager::instance()->setStatusLabel(m_statusLabel);
......
......@@ -33,7 +33,6 @@ public:
StatusLabel(PlaylistInterface *playlist, QWidget *parent = 0, const char *name = 0);
virtual ~StatusLabel();
virtual void updateCurrent();
virtual void updateData();
public slots:
/**
......@@ -42,6 +41,7 @@ public slots:
*/
void setItemTotalTime(int time) { m_itemTotalTime = time; }
void setItemCurrentTime(int time) { m_itemCurrentTime = time; updateTime(); }
virtual void updateData();
signals:
void jumpButtonClicked();
......
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