From 6fec376f7f44145efa509668927a0179c8ffa65e Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 1 Jun 2013 22:52:19 +0200 Subject: Gather archive data in a thread Fetching data sometimes takes a long time, so do it in a QThread and show a progress dialog. Some kludges included :) --- shemov.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index 6c53879..1baa7d5 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -140,6 +140,9 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla readSettings(); mFSWidget->fileView()->setFocus(Qt::ActiveWindowFocusReason); mPicWidget->readSettings(); + mArchive->setConstructingDone(); + Helper::centerWidget(mArchive->progressDialog()); + mArchive->progressDialog()->show(); Helper::centerWidget(picViewer); } -- cgit v1.2.3-70-g09d2