From 3adf6f859dd4d5df8e8fceacce74487814867e61 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 7 Dec 2014 22:40:10 +0100 Subject: Major revamp of the file Manager Nothing is async any more. Didn't work, anyway. Instead show a QProgressDialog when gathering data. Was kinda surprising that processEvents has to be called explicitly... Well, done! --- shemov.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index f1ea39a..b7ffc9a 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -54,6 +54,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla splash.showMessage(tr("Constructing Filemanager..."), Qt::AlignHCenter, Qt::yellow); qApp->processEvents(); mFSWidget = new FilesystemWidget; + SmGlobals::instance()->registerWidget("FSWidget", mFSWidget); setWindowTitle(mFSWidget->windowTitle()); mTab = new QTabWidget; mTab->addTab(mFSWidget, tr("Filemanager")); -- cgit v1.2.3-70-g09d2