summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-04-22 19:38:51 (UTC)
committer llornkcor <llornkcor>2003-04-22 19:38:51 (UTC)
commitfc4a2188381ba68060eac61fe18ab34a87742635 (patch) (side-by-side diff)
treedfe37b48935edaa04f6fd0c930e1ae2a2e3872fe
parent6504c09407f6cdf0e131205e0337ba6bc7046182 (diff)
downloadopie-fc4a2188381ba68060eac61fe18ab34a87742635.zip
opie-fc4a2188381ba68060eac61fe18ab34a87742635.tar.gz
opie-fc4a2188381ba68060eac61fe18ab34a87742635.tar.bz2
fix
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
@@ -34,14 +34,13 @@ void AdvancedFm::init() {
setCaption( tr( "AdvancedFm" ) );
QVBoxLayout *layout = new QVBoxLayout( this );
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 );
layout->addWidget( menuBar );
@@ -107,22 +106,22 @@ void AdvancedFm::init() {
// menuButton->insertItem("");
// customDirMenu->insertItem(tr("Add This Directory"));
// customDirMenu->insertItem(tr("Remove This Directory"));
// customDirMenu->insertSeparator();
- customDirsToMenu();
-
menuButton = new MenuButton( lineBox );
menuButton->setUseLabel(false);
menuButton->setMaximumWidth( 20 );
menuButton->insertItem( s_addBookmark);
menuButton->insertItem( s_removeBookmark);
menuButton->insertSeparator();
+ customDirsToMenu();
+
currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" );
currentPathCombo->setEditable(TRUE);
currentPathCombo->lineEdit()->setText( currentDir.canonicalPath());
layout->addWidget( lineBox );