diff options
author | Arno <am@disconnect.de> | 2013-06-23 05:47:10 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-06-23 05:47:10 +0200 |
commit | 1e247c6fea51dab6815e3a15f22cd08e56039e89 (patch) | |
tree | 3bba38aa28dfdc4b4f6b0440accab7d83a16ad75 /shemov.cpp | |
parent | 5dbcc16c289d7067132d133b374a9b7dcd2c7fd2 (diff) | |
download | SheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.tar.gz SheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.tar.bz2 SheMov-1e247c6fea51dab6815e3a15f22cd08e56039e89.zip |
Make the archive cache useful
Read the cache if there is one, if not, read it in another thread and
update the view when it's done.
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -79,6 +79,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla qApp->processEvents(); mArchive = new ArchiveView; mTab->addTab(mArchive, "Experimental"); + connect(mArchive->archiveModel(), SIGNAL(message(QString)), this, SLOT(statusbarMessage(QString))); //pictures splash.showMessage(tr("Creating Picture Archive..."), Qt::AlignHCenter, Qt::yellow); @@ -140,11 +141,6 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla readSettings(); mFSWidget->fileView()->setFocus(Qt::ActiveWindowFocusReason); mPicWidget->readSettings(); - mArchive->setConstructingDone(); - Helper::centerWidget(mArchive->progressDialog()); - if(mArchive->archiveModel()->collector()->isRunning()){ - mArchive->progressDialog()->show(); - } Helper::centerWidget(picViewer); } |