From c3af652174ece17054805f6eb3fbcdbad81ade54 Mon Sep 17 00:00:00 2001 From: aacid Date: Sun, 7 Dec 2008 23:33:15 +0000 Subject: [PATCH] correctly restore m_showMenuBarAction status on startup git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@894123 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- okular/shell/shell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/okular/shell/shell.cpp b/okular/shell/shell.cpp index b60460a7..18e38020 100644 --- a/okular/shell/shell.cpp +++ b/okular/shell/shell.cpp @@ -87,6 +87,7 @@ void Shell::init() createGUI(m_part); m_showToolBarAction = static_cast(toolBarMenuAction()); m_doc = qobject_cast(m_part); + m_showMenuBarAction->setChecked( menuBar()->isVisible() ); } connect( this, SIGNAL( restoreDocument(const KConfigGroup&) ),m_part, SLOT( restoreDocument(const KConfigGroup&))); -- 2.11.4.GIT