-rw-r--r-- | Rules.make | 1 | ||||
-rw-r--r-- | core/launcher/launcher.cpp | 27 |
2 files changed, 15 insertions, 13 deletions
@@ -60,2 +60,3 @@ $(OPIEDIR)/stamp-headers : $(TOPDIR)/include/opie \ + $(TOPDIR)/include/opie2 \ $(TOPDIR)/include/qtopia/private diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index 0205622..b612aa2 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -383,10 +383,11 @@ void CategoryTabWidget::updateLink(const QString& linkfile) { - // LauncherView* view; - qApp->processEvents(); -// while ((view = (LauncherView*)stack->widget(i++))) { -// if ( view->removeLink(linkfile) ) -// break; -// } - // addItem(linkfile); - fileSel->reparse(); + int i=0; + LauncherView* view; + //qApp->processEvents(); + while ((view = (LauncherView*)stack->widget(i++))) { + if ( view->removeLink(linkfile) ) + break; + } + addItem(linkfile); + docview->updateTools(); } @@ -1343,7 +1344,7 @@ DocumentTab::DocumentTab( QWidget *parent, int mode, int selector, const QString { - setYesCancelVisible(false); - setToolbarVisible(false); - setPermissionBarVisible(false); - setLineEditVisible(false) ; - //setChooserVisible( bool chooser ); + //setYesCancelVisible(false); + //setToolbarVisible(false); + //setPermissionBarVisible(false); + //setLineEditVisible(false) ; + //setChooserVisible( bool chooser ); |