summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 98e7481..7887704 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -643,7 +643,8 @@ void Launcher::typeAdded( const QString& type, const QString& name,
643{ 643{
644 tabs->newView( type, pixmap, name ); 644 tabs->newView( type, pixmap, name );
645 ids.append( type ); 645 ids.append( type );
646 tb->refreshStartMenu(); 646 /* this will be called in applicationScanningProgress with value 100! */
647// tb->refreshStartMenu();
647 648
648 static bool first = TRUE; 649 static bool first = TRUE;
649 if ( first ) { 650 if ( first ) {
@@ -660,7 +661,8 @@ void Launcher::typeRemoved( const QString& type )
660 tabs->view( type )->removeAllItems(); 661 tabs->view( type )->removeAllItems();
661 tabs->deleteView( type ); 662 tabs->deleteView( type );
662 ids.remove( type ); 663 ids.remove( type );
663 tb->refreshStartMenu(); 664 /* this will be called in applicationScanningProgress with value 100! */
665// tb->refreshStartMenu();
664} 666}
665 667
666void Launcher::applicationAdded( const QString& type, const AppLnk& app ) 668void Launcher::applicationAdded( const QString& type, const AppLnk& app )
@@ -768,6 +770,7 @@ void Launcher::documentScanningProgress( int percent )
768 tabs->docView()->setSortEnabled( TRUE ); 770 tabs->docView()->setSortEnabled( TRUE );
769 tabs->docView()->setUpdatesEnabled( TRUE ); 771 tabs->docView()->setUpdatesEnabled( TRUE );
770 tabs->setLoadingWidgetEnabled( FALSE ); 772 tabs->setLoadingWidgetEnabled( FALSE );
773 tb->refreshStartMenu();
771 break; 774 break;
772 } 775 }
773 default: 776 default: