diff options
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/playlist.cpp | 6 |
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() |
