aboutsummaryrefslogtreecommitdiff
path: root/src/ui/playlist.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-30 22:02:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-30 22:02:21 +0000
commit73817538b2638e1105c7dfba892d54752cb777a5 (patch)
treeaaf29c03fe1a4172033fea30042a96cf083855f3 /src/ui/playlist.cpp
parent910c5067e8d7ae22b3fde6bd483391314de1ba16 (diff)
downloadqmmp-73817538b2638e1105c7dfba892d54752cb777a5.tar.gz
qmmp-73817538b2638e1105c7dfba892d54752cb777a5.tar.bz2
qmmp-73817538b2638e1105c7dfba892d54752cb777a5.zip
fixed shaded playlist title
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@649 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/playlist.cpp')
-rw-r--r--src/ui/playlist.cpp24
1 files changed, 6 insertions, 18 deletions
diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp
index f4490fbec..42d560b2d 100644
--- a/src/ui/playlist.cpp
+++ b/src/ui/playlist.cpp
@@ -469,29 +469,17 @@ void PlayList::setTime(qint64 time)
}
}
-//void PlayList::setInfo (const OutputState &st,int length_current, int length_total)
-//{
-/*if (st.type() == OutputState::Info)
-{
- m_current_time->display (formatTime (st.elapsedSeconds()));
- m_current_time->update();
- QString str_length = formatTime (length_current) + "/" + formatTime (length_total);
- m_length_totalLength->display (str_length);
- m_length_totalLength->update();
-}
-else if (st.type() == OutputState::Playing)
+void PlayList::updateList()
{
- m_listWidget->updateList(); //removes progress message from TextScroller
-}*/
-//}
+ m_listWidget->updateList();
+ m_titleBar->showCurrent();
+}
+
PlayListItem *PlayList::currentItem()
{
- if (m_playListModel)
- return m_playListModel->currentItem();
- else
- return 0;
+ return m_playListModel ? m_playListModel->currentItem() : 0;
}
void PlayList::showPlaylistMenu()