From 3ac6968ebaf087aeb4bb3deeb1ded2bbbd54dfa5 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 7 Feb 2014 03:31:24 +0100 Subject: Update status bar from ArchiveBrowser Update item selection count and selected size in statusBar. --- shemov.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index cae9ee1..4c3f5cd 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -82,6 +82,8 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla qApp->processEvents(); ArchiveBrowser *mArchiveBrowser = new ArchiveBrowser; mTab->addTab(mArchiveBrowser, tr("Archive Browser")); + connect(mArchiveBrowser, SIGNAL(sizeChanged(qint64)), this, SLOT(setSize(qint64))); + connect(mArchiveBrowser, SIGNAL(itemCountChanged(int)), this, SLOT(updateSelectedCount(int))); //newmoviewizard + dbanalyzer + newpicsdialog splash.showMessage(tr("Creating misc. Dialogs..."), Qt::AlignHCenter, Qt::yellow); -- cgit v1.2.3-70-g09d2