Commit acf5922d authored by Albert Astals Cid's avatar Albert Astals Cid

correctly restore m_showMenuBarAction status on startup

svn path=/trunk/KDE/kdegraphics/okular/; revision=894123
parent 7ac43b7a
......@@ -87,6 +87,7 @@ void Shell::init()
m_showToolBarAction = static_cast<KToggleAction*>(toolBarMenuAction());
m_doc = qobject_cast<KDocumentViewer*>(m_part);
m_showMenuBarAction->setChecked( menuBar()->isVisible() );
connect( this, SIGNAL( restoreDocument(const KConfigGroup&) ),m_part, SLOT( restoreDocument(const KConfigGroup&)));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment