aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-05-20 13:41:18 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-05-20 13:41:18 +0000
commit47a8f711119ce8ae17b66b80eb813c6ae82fd9ba (patch)
tree0bc6efb8420afa0d7a4c40f60b8e247085bf6500
parent9fa2ee380745f7de00e9ca96d404cca550d7569f (diff)
downloadqmmp-47a8f711119ce8ae17b66b80eb813c6ae82fd9ba.tar.gz
qmmp-47a8f711119ce8ae17b66b80eb813c6ae82fd9ba.tar.bz2
qmmp-47a8f711119ce8ae17b66b80eb813c6ae82fd9ba.zip
clear text scroller before playing
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@378 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/ui/playlist.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp
index 0e813d6a4..a664d421b 100644
--- a/src/ui/playlist.cpp
+++ b/src/ui/playlist.cpp
@@ -448,7 +448,7 @@ QString PlayList::formatTime ( int sec )
void PlayList::setInfo (const OutputState &st,int length_current, int length_total)
{
- if ( st.type() == OutputState::Info )
+ if (st.type() == OutputState::Info)
{
m_current_time->display ( formatTime ( st.elapsedSeconds() ) );
m_current_time->update();
@@ -457,6 +457,10 @@ void PlayList::setInfo (const OutputState &st,int length_current, int length_tot
m_length_totalLength->display ( str_length );
m_length_totalLength->update();
}
+ else if (st.type() == OutputState::Playing)
+ {
+ m_listWidget->updateList(); //removes progress message from TextScroller
+ }
}
MediaFile *PlayList::currentItem()