-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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,7 +37,6 @@ void AdvancedFm::init() { layout->setSpacing( 2); layout->setMargin( 2); - QMenuBar *menuBar = new QMenuBar(this); fileMenu = new QPopupMenu( this ); viewMenu = 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()); |