From 2c516d1148562041da3732241d8ecb8bed430c51 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 6 Mar 2017 05:53:36 +0100 Subject: Fix display of length Stop the dance in setDuration. Get rid of the function and use TagLib::File::AudioProperties in play() to set it. --- playerwidget.h | 1 - 1 file changed, 1 deletion(-) (limited to 'playerwidget.h') 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(); -- cgit v1.2.3-70-g09d2