summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'playerwidget.cpp')
-rw-r--r--playerwidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/playerwidget.cpp b/playerwidget.cpp
index 7f81bcc..2c24576 100644
--- a/playerwidget.cpp
+++ b/playerwidget.cpp
@@ -1441,7 +1441,6 @@ void PlayerWidget::play(const QString &fullPath){
}
void PlayerWidget::playUrl(const QString &url){
- disconnect(mPlayer, static_cast<void(QMediaObject::*)(const QString &, const QVariant &)>(&QMediaObject::metaDataChanged), this, &PlayerWidget::doMetadataChange);
connect(mPlayer, static_cast<void(QMediaObject::*)(const QString &, const QVariant &)>(&QMediaObject::metaDataChanged), this, &PlayerWidget::doMetadataChange);
mPlayer->setMedia(QUrl(url));
mPlayer->play();