-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) | |||
58 | setCentralWidget( m_stack ); | 58 | setCentralWidget( m_stack ); |
59 | 59 | ||
60 | m_view = new PIconView( m_stack, m_cfg ); | 60 | m_view = new PIconView( m_stack, m_cfg ); |
61 | m_stack->addWidget( m_view, IconView ); | 61 | m_stack->addWidget( m_view, IconView ); |
62 | m_stack->raiseWidget( IconView ); | 62 | m_stack->raiseWidget( IconView ); |
63 | 63 | ||
64 | connect(m_view, SIGNAL(sig_display(const QString&)), | 64 | connect(m_view, SIGNAL(sig_display(const QString&)), |
65 | this, SLOT(slotDisplay(const QString&))); | 65 | this, SLOT(slotDisplay(const QString&))); |
66 | connect(m_view, SIGNAL(sig_showInfo(const QString&)), | 66 | connect(m_view, SIGNAL(sig_showInfo(const QString&)), |
67 | this, SLOT(slotShowInfo(const QString&)) ); | 67 | this, SLOT(slotShowInfo(const QString&)) ); |
68 | connect(this,SIGNAL(changeListMode(int)),m_view,SLOT(slotChangeMode(int))); | 68 | connect(this,SIGNAL(changeListMode(int)),m_view,SLOT(slotChangeMode(int))); |
69 | 69 | ||
70 | m_stack->forceMode(Opie::Ui::OWidgetStack::NoForce); | ||
71 | |||
72 | listviewMenu = 0; | 70 | listviewMenu = 0; |
73 | /* setup menu and toolbar */ | 71 | /* setup menu and toolbar */ |
74 | setupActions(); | 72 | setupActions(); |
75 | setupToolbar(); | 73 | setupToolbar(); |
76 | setupMenu(); | 74 | setupMenu(); |
77 | m_aHideToolbar->setOn(m_cfg->readBoolEntry("showtoolbar",true)); | 75 | m_aHideToolbar->setOn(m_cfg->readBoolEntry("showtoolbar",true)); |
78 | m_aAutoRotate->setEnabled(!m_aUnscaled->isOn()); | 76 | m_aAutoRotate->setEnabled(!m_aUnscaled->isOn()); |
79 | if (m_aForceSmall) { | 77 | if (m_aForceSmall) { |
80 | m_aForceSmall->setOn(m_cfg->readBoolEntry("dontshowseperate",true)); | 78 | m_aForceSmall->setOn(m_cfg->readBoolEntry("dontshowseperate",true)); |
81 | } | 79 | } |
82 | odebug << "mainwindow constructor done" << oendl; | 80 | odebug << "mainwindow constructor done" << oendl; |
83 | } | 81 | } |