From 3b4ffdd20f2c75dd2c7aafc4ae39d460c18fdbcb Mon Sep 17 00:00:00 2001 From: APTX Date: Sat, 16 Aug 2014 21:13:13 +0200 Subject: [PATCH] Automatically play the next episode after the current file ends. --- player/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/player/mainwindow.cpp b/player/mainwindow.cpp index 426d3d1..48007ae 100644 --- a/player/mainwindow.cpp +++ b/player/mainwindow.cpp @@ -111,6 +111,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(player, SIGNAL(message(QString)), menu, SLOT(showMessage(QString))); connect(player, SIGNAL(currentFileChanged(QString)), this, SLOT(handleCurrentFileChanged())); + connect(player, SIGNAL(playbackFinished()), player, SLOT(next())); setCentralWidget(player->videoWidget()); -- 2.52.0