summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-06-01 22:52:19 +0200
committerArno <am@disconnect.de>2013-06-01 22:52:19 +0200
commit6fec376f7f44145efa509668927a0179c8ffa65e (patch)
tree49bbc7fe883085ff39e24b5f12fbef25d8cf48c5 /shemov.cpp
parent6e92f5deb39aed43d72d8a64733f5b11e1650d5d (diff)
downloadSheMov-6fec376f7f44145efa509668927a0179c8ffa65e.tar.gz
SheMov-6fec376f7f44145efa509668927a0179c8ffa65e.tar.bz2
SheMov-6fec376f7f44145efa509668927a0179c8ffa65e.zip
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 :)
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}