summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
authoralwin <alwin>2004-02-29 01:55:19 (UTC)
committer alwin <alwin>2004-02-29 01:55:19 (UTC)
commit14db10826688a0f098fc48d4aec6e794b07f4ab4 (patch) (side-by-side diff)
tree8ea76bec5445debeedd1fb8099593ceaae39cf38 /core/launcher/launcher.cpp
parent0b9baf5317f316bf2932d39cbfa795568ec56e39 (diff)
downloadopie-14db10826688a0f098fc48d4aec6e794b07f4ab4.zip
opie-14db10826688a0f098fc48d4aec6e794b07f4ab4.tar.gz
opie-14db10826688a0f098fc48d4aec6e794b07f4ab4.tar.bz2
aye - fixed the problem on startup, that on each tab inserted the tabbar menu is re-build. and it was such simple way - just 3 lines...
Diffstat (limited to 'core/launcher/launcher.cpp') (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,
{
tabs->newView( type, pixmap, name );
ids.append( type );
- tb->refreshStartMenu();
+ /* this will be called in applicationScanningProgress with value 100! */
+// tb->refreshStartMenu();
static bool first = TRUE;
if ( first ) {
@@ -660,7 +661,8 @@ void Launcher::typeRemoved( const QString& type )
tabs->view( type )->removeAllItems();
tabs->deleteView( type );
ids.remove( type );
- tb->refreshStartMenu();
+ /* this will be called in applicationScanningProgress with value 100! */
+// tb->refreshStartMenu();
}
void Launcher::applicationAdded( const QString& type, const AppLnk& app )
@@ -768,6 +770,7 @@ void Launcher::documentScanningProgress( int percent )
tabs->docView()->setSortEnabled( TRUE );
tabs->docView()->setUpdatesEnabled( TRUE );
tabs->setLoadingWidgetEnabled( FALSE );
+ tb->refreshStartMenu();
break;
}
default: