summaryrefslogtreecommitdiff
Unidiff
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() {
37 layout->setSpacing( 2); 37 layout->setSpacing( 2);
38 layout->setMargin( 2); 38 layout->setMargin( 2);
39 39
40 40 QMenuBar *menuBar = new QMenuBar(this);
41 QMenuBar *menuBar = new QMenuBar(this);
42 fileMenu = new QPopupMenu( this ); 41 fileMenu = new QPopupMenu( this );
43 viewMenu = new QPopupMenu( this ); 42 viewMenu = new QPopupMenu( this );
44// customDirMenu = new QPopupMenu( this ); 43// customDirMenu = new QPopupMenu( this );
@@ -110,8 +109,6 @@ void AdvancedFm::init() {
110// customDirMenu->insertItem(tr("Remove This Directory")); 109// customDirMenu->insertItem(tr("Remove This Directory"));
111// customDirMenu->insertSeparator(); 110// customDirMenu->insertSeparator();
112 111
113 customDirsToMenu();
114
115 menuButton = new MenuButton( lineBox ); 112 menuButton = new MenuButton( lineBox );
116 113
117 menuButton->setUseLabel(false); 114 menuButton->setUseLabel(false);
@@ -120,6 +117,8 @@ void AdvancedFm::init() {
120 menuButton->insertItem( s_removeBookmark); 117 menuButton->insertItem( s_removeBookmark);
121 menuButton->insertSeparator(); 118 menuButton->insertSeparator();
122 119
120 customDirsToMenu();
121
123 currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" ); 122 currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" );
124 currentPathCombo->setEditable(TRUE); 123 currentPathCombo->setEditable(TRUE);
125 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); 124 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath());