Commit 4610929e authored by Shubham  .'s avatar Shubham .

Use logically correct icon for direction arrows

Test Plan:
Before:
{F6626036}
After:
{F6626027}

Reviewers: #vdg, ngraham, #okular

Reviewed By: #vdg, ngraham

Subscribers: aacid, abetts, davidhurka, ngraham, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D19183
parent 49e702d9
......@@ -167,7 +167,7 @@ MiniBar::MiniBar( QWidget * parent, MiniBarLogic * miniBarLogic )
QSize buttonSize( KIconLoader::SizeSmallMedium, KIconLoader::SizeSmallMedium );
// bottom: left prev_page button
m_prevButton = new HoverButton( this );
m_prevButton->setIcon( QIcon::fromTheme( layoutDirection() == Qt::RightToLeft ? QStringLiteral("arrow-right") : QStringLiteral("arrow-left") ) );
m_prevButton->setIcon( QIcon::fromTheme( QStringLiteral("arrow-up") ) );
m_prevButton->setIconSize( buttonSize );
horLayout->addWidget( m_prevButton );
// bottom: left lineEdit (current page box)
......@@ -190,7 +190,7 @@ MiniBar::MiniBar( QWidget * parent, MiniBarLogic * miniBarLogic )
horLayout->addWidget( m_pagesButton );
// bottom: right next_page button
m_nextButton = new HoverButton( this );
m_nextButton->setIcon( QIcon::fromTheme( layoutDirection() == Qt::RightToLeft ? QStringLiteral("arrow-left") : QStringLiteral("arrow-right") ) );
m_nextButton->setIcon( QIcon::fromTheme( QStringLiteral ("arrow-down") ) );
m_nextButton->setIconSize( buttonSize );
horLayout->addWidget( m_nextButton );
......
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