diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-23 11:39:10 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-23 11:39:10 +0000 |
| commit | 56da1acbe630965b2eb321915955975f92e9849f (patch) | |
| tree | d7c45b82af16156e2590535f67b453f38acfc2e1 | |
| parent | dd3df8317724d7c81ac7067dd8a0aa406ac92ac2 (diff) | |
| download | qmmp-56da1acbe630965b2eb321915955975f92e9849f.tar.gz qmmp-56da1acbe630965b2eb321915955975f92e9849f.tar.bz2 qmmp-56da1acbe630965b2eb321915955975f92e9849f.zip | |
fixed notifier duration bug
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@625 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index a306c74aa..a0d7ac854 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -364,9 +364,9 @@ void MainWindow::showMetaData() info.setValue(SongInfo::GENRE, m_core->metaData(Qmmp::GENRE)); info.setValue(SongInfo::YEAR, m_core->metaData(Qmmp::YEAR).toUInt()); info.setValue(SongInfo::TRACK, m_core->metaData(Qmmp::TRACK).toUInt()); - //info.setValue(SongInfo::LENGTH, st.tag()->length()); info.setValue(SongInfo::STREAM, !QFile::exists(m_playlist->currentItem()->path())); info.setValue(SongInfo::PATH, m_playlist->currentItem()->path()); + info.setValue(SongInfo::LENGTH, m_playlist->currentItem()->length()); m_generalHandler->setSongInfo(info); m_playlist->currentItem()->updateMetaData(m_core->metaData()); m_playlist->listWidget()->updateList(); |
