From b7421f4bc4244240229af06c7baa6810d2882feb Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 6 Mar 2017 06:16:52 +0100 Subject: Remove obsolete connection to setDuration(qint64) --- playerwidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/playerwidget.cpp b/playerwidget.cpp index 62ab6e1..da2f6bf 100644 --- a/playerwidget.cpp +++ b/playerwidget.cpp @@ -39,7 +39,6 @@ void PlayerWidget::setupGui(){ //the Player mPlayer = new QMediaPlayer(this); connect(mPlayer, SIGNAL(positionChanged(qint64)), this, SLOT(setPosition(qint64))); - connect(mPlayer, SIGNAL(durationChanged(qint64)), this, SLOT(setDuration(qint64))); connect(mPlayer, SIGNAL(mediaStatusChanged(QMediaPlayer::MediaStatus)), this, SLOT(continuePlaying(QMediaPlayer::MediaStatus))); //THE view -- cgit v1.2.3-70-g09d2