From fc4a2188381ba68060eac61fe18ab34a87742635 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Tue, 22 Apr 2003 19:38:51 +0000 Subject: fix --- diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index eb2bcd8..d0de442 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp @@ -37,8 +37,7 @@ void AdvancedFm::init() { layout->setSpacing( 2); layout->setMargin( 2); - - QMenuBar *menuBar = new QMenuBar(this); + QMenuBar *menuBar = new QMenuBar(this); fileMenu = new QPopupMenu( this ); viewMenu = new QPopupMenu( this ); // customDirMenu = new QPopupMenu( this ); @@ -110,8 +109,6 @@ void AdvancedFm::init() { // customDirMenu->insertItem(tr("Remove This Directory")); // customDirMenu->insertSeparator(); - customDirsToMenu(); - menuButton = new MenuButton( lineBox ); menuButton->setUseLabel(false); @@ -120,6 +117,8 @@ void AdvancedFm::init() { menuButton->insertItem( s_removeBookmark); menuButton->insertSeparator(); + customDirsToMenu(); + currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" ); currentPathCombo->setEditable(TRUE); currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); -- cgit v0.9.0.2