Commit 2dcee688 authored by Pino Toscano's avatar Pino Toscano

actually, there's no need to register the bookmark items menu actions to the...

actually, there's no need to register the bookmark items menu actions to the action collection, as they are transient atm

svn path=/trunk/KDE/kdegraphics/okular/; revision=973699
parent 80b9ea46
......@@ -2140,10 +2140,6 @@ void Part::rebuildBookmarkMenu( bool unplugActions )
a->setEnabled( false );
m_bookmarkActions.append( a );
}
for ( int i = 0; i < m_bookmarkActions.count(); ++i )
{
actionCollection()->addAction( QString( "bookmark_action_%1" ).arg( i ), m_bookmarkActions.at(i) );
}
plugActionList( "bookmarks_currentdocument", m_bookmarkActions );
m_prevBookmark->setEnabled( havebookmarks );
......
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