summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index e74301c..3eb561a 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -57,2 +57,5 @@
+#include <opie/owait.h>
+
+
#include "launcherview.h"
@@ -362,2 +365,3 @@ void CategoryTabWidget::updateLink(const QString& linkfile)
LauncherView* view;
+ qApp->processEvents();
while ((view = (LauncherView*)stack->widget(i++))) {
@@ -730,2 +734,9 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
{
+
+ OWait *owait = new OWait();
+ Global::statusMessage( tr( "Finding documents" ) );
+
+ owait->show();
+ qApp->processEvents();
+
delete docsFolder;
@@ -791,2 +802,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
QStringList mimetypes = configToMime( &cfg);
+ qApp->processEvents();
+ Global::statusMessage( tr( "Searching documents" ) );
tmp = new DocLnkSet( (*it)->path(), mimetypes.join(";") );
@@ -805,2 +818,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
cfg.write();
+
+ qApp->processEvents();
tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) );
@@ -816,2 +831,5 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
if( check ){ // find the documents
+
+ qApp->processEvents();
+ Global::statusMessage( tr( "Searching documents" ) );
tmp = new DocLnkSet( (*it)->path(), configToMime(&cfg ).join(";") );
@@ -825,2 +843,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
m_timeStamp = newStamp;
+ owait->hide();
+ delete owait;
}
@@ -1106,2 +1126,5 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
+ // directly show updated docs in document tab
+ updateDocs();
+
QString contents;