summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-03-06 05:53:36 +0100
committerArno <arno@disconnect.de>2017-03-06 05:53:36 +0100
commit2c516d1148562041da3732241d8ecb8bed430c51 (patch)
tree796941bf6d74eb012e994e65edac59aceebc7e70 /playerwidget.h
parent990beac98b2b407d255405aa374817f3c6fd1bba (diff)
downloadBeetPlayer-2c516d1148562041da3732241d8ecb8bed430c51.tar.gz
BeetPlayer-2c516d1148562041da3732241d8ecb8bed430c51.tar.bz2
BeetPlayer-2c516d1148562041da3732241d8ecb8bed430c51.zip
Fix display of length
Stop the dance in setDuration. Get rid of the function and use TagLib::File::AudioProperties in play() to set it.
Diffstat (limited to 'playerwidget.h')
-rw-r--r--playerwidget.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/playerwidget.h b/playerwidget.h
index 4a152f6..b2b8c5e 100644
--- a/playerwidget.h
+++ b/playerwidget.h
@@ -50,7 +50,6 @@ class PlayerWidget : public QWidget {
void next();
void previous();
void setPosition(qint64 pos);
- void setDuration(qint64 dur);
void slide(int value);
void continuePlaying(QMediaPlayer::MediaStatus state);
void expand();