summaryrefslogtreecommitdiff
Unidiff
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 @@
57 57
58#include <opie/owait.h>
59
60
58#include "launcherview.h" 61#include "launcherview.h"
@@ -362,2 +365,3 @@ void CategoryTabWidget::updateLink(const QString& linkfile)
362 LauncherView* view; 365 LauncherView* view;
366 qApp->processEvents();
363 while ((view = (LauncherView*)stack->widget(i++))) { 367 while ((view = (LauncherView*)stack->widget(i++))) {
@@ -730,2 +734,9 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
730{ 734{
735
736 OWait *owait = new OWait();
737 Global::statusMessage( tr( "Finding documents" ) );
738
739 owait->show();
740 qApp->processEvents();
741
731 delete docsFolder; 742 delete docsFolder;
@@ -791,2 +802,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
791 QStringList mimetypes = configToMime( &cfg); 802 QStringList mimetypes = configToMime( &cfg);
803 qApp->processEvents();
804 Global::statusMessage( tr( "Searching documents" ) );
792 tmp = new DocLnkSet( (*it)->path(), mimetypes.join(";") ); 805 tmp = new DocLnkSet( (*it)->path(), mimetypes.join(";") );
@@ -805,2 +818,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
805 cfg.write(); 818 cfg.write();
819
820 qApp->processEvents();
806 tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) ); 821 tmp = new DocLnkSet( (*it)->path(), medium.mimeTypes().join(";" ) );
@@ -816,2 +831,5 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
816 if( check ){ // find the documents 831 if( check ){ // find the documents
832
833 qApp->processEvents();
834 Global::statusMessage( tr( "Searching documents" ) );
817 tmp = new DocLnkSet( (*it)->path(), configToMime(&cfg ).join(";") ); 835 tmp = new DocLnkSet( (*it)->path(), configToMime(&cfg ).join(";") );
@@ -825,2 +843,4 @@ void Launcher::loadDocs() // ok here comes a hack belonging to Global::
825 m_timeStamp = newStamp; 843 m_timeStamp = newStamp;
844 owait->hide();
845 delete owait;
826} 846}
@@ -1106,2 +1126,5 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
1106 1126
1127 // directly show updated docs in document tab
1128 updateDocs();
1129
1107 QString contents; 1130 QString contents;