summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-03-31 09:56:36 +0200
committerArno <arno@disconnect.de>2018-03-31 09:56:36 +0200
commitb0702a8fe0eaeaef0577e0f07456ced2d132c528 (patch)
tree81c0fb60e6123354d4e7710d53fbb0e1db958f9f /shemov.cpp
parentb2b21c5790a3fcf5ecd4fddff40420f5bd2d2009 (diff)
downloadSheMov-b0702a8fe0eaeaef0577e0f07456ced2d132c528.tar.gz
SheMov-b0702a8fe0eaeaef0577e0f07456ced2d132c528.tar.bz2
SheMov-b0702a8fe0eaeaef0577e0f07456ced2d132c528.zip
Add visual feedback to FSWidget
* show busy cursor when gathering data * emit statusbarMessage() when gathering data The latter shows a summary with the time it has taken to gather data, the SQL query count and the number of files analyzed.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 242bf94..2a7aa7e 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -64,6 +64,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
connect(this, &SheMov::configChanged, mFSWidget, &FilesystemWidget::configChanged);
mFileWidget = new FSWidget;
mTab->addTab(mFileWidget, tr("FS"));
+ connect(mFileWidget, &FSWidget::message, this, &SheMov::statusbarMessage);
//experimental
splash.showMessage(tr("Creating Movie archive..."), Qt::AlignHCenter, Qt::yellow);