author | zecke <zecke> | 2005-03-06 14:07:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-03-06 14:07:46 (UTC) |
commit | a81251b503cba26ad326ac6c68a80a2930bef896 (patch) (side-by-side diff) | |
tree | 07b028d708fe8add7b9766213f32d77e48c3f7be | |
parent | 125fa91f604cf9b7f3272798e72b6725fca9e23f (diff) | |
download | opie-a81251b503cba26ad326ac6c68a80a2930bef896.zip opie-a81251b503cba26ad326ac6c68a80a2930bef896.tar.gz opie-a81251b503cba26ad326ac6c68a80a2930bef896.tar.bz2 |
-NoForce is the default mode of the OWidgetStack. There is no need
to set it here.
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index a96bfbd..e532867 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp @@ -58,26 +58,24 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) setCentralWidget( m_stack ); m_view = new PIconView( m_stack, m_cfg ); m_stack->addWidget( m_view, IconView ); m_stack->raiseWidget( IconView ); connect(m_view, SIGNAL(sig_display(const QString&)), this, SLOT(slotDisplay(const QString&))); connect(m_view, SIGNAL(sig_showInfo(const QString&)), this, SLOT(slotShowInfo(const QString&)) ); connect(this,SIGNAL(changeListMode(int)),m_view,SLOT(slotChangeMode(int))); - m_stack->forceMode(Opie::Ui::OWidgetStack::NoForce); - listviewMenu = 0; /* setup menu and toolbar */ setupActions(); setupToolbar(); setupMenu(); m_aHideToolbar->setOn(m_cfg->readBoolEntry("showtoolbar",true)); m_aAutoRotate->setEnabled(!m_aUnscaled->isOn()); if (m_aForceSmall) { m_aForceSmall->setOn(m_cfg->readBoolEntry("dontshowseperate",true)); } odebug << "mainwindow constructor done" << oendl; } |