summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp7
1 files changed, 3 insertions, 4 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,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());