From: APTX Date: Sat, 16 Aug 2014 19:13:13 +0000 (+0200) Subject: Automatically play the next episode after the current file ends. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=aniplayer2.git Automatically play the next episode after the current file ends. --- 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());