summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 2a7aa7e..47018b7 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -65,6 +65,11 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
mFileWidget = new FSWidget;
mTab->addTab(mFileWidget, tr("FS"));
connect(mFileWidget, &FSWidget::message, this, &SheMov::statusbarMessage);
+ connect(mFileWidget, &FSWidget::selectionChanged, [=](int count, qint64 size, qint64 duration) {
+ updateSelectedCount(count);
+ setSize(size);
+ setDuration(duration, false);
+ });
//experimental
splash.showMessage(tr("Creating Movie archive..."), Qt::AlignHCenter, Qt::yellow);