diff options
| author | Peter Penz <[email protected]> | 2008-09-23 13:04:46 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-09-23 13:04:46 +0000 |
| commit | 41dfbdf3d9c6acbdde4e8e38a5b0cfde8c8acd6a (patch) | |
| tree | 30d7dcba918b871e2ac0d21d49201333191c5764 /src/dolphinmainwindow.cpp | |
| parent | 947054c3fb1fed51b315c0deea9610409222d375 (diff) | |
Fixed issue that the "Show Menu Bar" state is not updated correctly (workaround for bug #171080). Patch has been provided by Laurens Vanhove.
svn path=/trunk/KDE/kdebase/apps/; revision=863909
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 78e5ab31c..da7f8e170 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -834,7 +834,6 @@ void DolphinMainWindow::init() m_centralWidgetLayout->addWidget(m_tabBar); m_centralWidgetLayout->addWidget(m_viewTab[m_tabIndex].splitter); - setCentralWidget(centralWidget); setupDockWidgets(); @@ -861,6 +860,7 @@ void DolphinMainWindow::init() resize(750, 500); } + m_showMenuBar->setChecked(!menuBar()->isHidden()); // workaround for bug #171080 emit urlChanged(homeUrl); } |
