Commit 80052767 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix reverse layout

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=357315
parent ee6357d4
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
// qt/kde includes // qt/kde includes
#include <qtooltip.h> #include <qtooltip.h>
#include <qapplication.h>
#include <kaction.h> #include <kaction.h>
#include <kactioncollection.h> #include <kactioncollection.h>
#include <kconfigbase.h> #include <kconfigbase.h>
...@@ -29,7 +30,7 @@ SearchWidget::SearchWidget( QWidget * parent, KPDFDocument * document ) ...@@ -29,7 +30,7 @@ SearchWidget::SearchWidget( QWidget * parent, KPDFDocument * document )
setMargin( 4 ); setMargin( 4 );
// clear button // clear button
KToolBarButton * m_clearButton = new KToolBarButton( SmallIcon("locationbar_erase"), 1, this ); KToolBarButton * m_clearButton = new KToolBarButton( SmallIcon(QApplication::reverseLayout() ? "clear_left" : "locationbar_erase"), 1, this );
QToolTip::add( m_clearButton, i18n( "Clear filter" ) ); QToolTip::add( m_clearButton, i18n( "Clear filter" ) );
// line edit // line edit
......
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