mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
fix the TOC icon in RtL mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=704022
This commit is contained in:
parent
0ecdc5b3c6
commit
223c0ba6a0
2
part.cpp
2
part.cpp
|
@ -177,7 +177,7 @@ m_searchStarted(false), m_cliPresentation(false)
|
|||
// [left toolbox: Table of Contents] | []
|
||||
m_toc = new TOC( 0, m_document );
|
||||
connect( m_toc, SIGNAL( hasTOC( bool ) ), this, SLOT( enableTOC( bool ) ) );
|
||||
tbIndex = m_sidebar->addItem( m_toc, KIcon(QApplication::isLeftToRight() ? "leftjust" : "format-justify-right"), i18n("Contents") );
|
||||
tbIndex = m_sidebar->addItem( m_toc, KIcon(QApplication::isLeftToRight() ? "leftjust" : "rightjust"), i18n("Contents") );
|
||||
enableTOC( false );
|
||||
|
||||
// [left toolbox: Thumbnails and Bookmarks] | []
|
||||
|
|
Loading…
Reference in a new issue