From 47a8f711119ce8ae17b66b80eb813c6ae82fd9ba Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 20 May 2008 13:41:18 +0000 Subject: 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 --- src/ui/playlist.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/playlist.cpp') 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() -- cgit v1.2.3-13-gbd6f