From kde-commits Sun Nov 02 23:07:15 2003 From: Laurent Montel Date: Sun, 02 Nov 2003 23:07:15 +0000 To: kde-commits Subject: kdelibs/kdeprint/management X-MARC-Message: https://marc.info/?l=kde-commits&m=106781446730530 CVS commit by mlaurent: Other reverseLayout fix M +3 -2 kmconfigfilter.cpp 1.8 --- kdelibs/kdeprint/management/kmconfigfilter.cpp #1.7:1.8 @@ -27,4 +27,5 @@ #include #include +#include #include @@ -48,7 +49,7 @@ KMConfigFilter::KMConfigFilter(QWidget * m_list2->setSelectionMode(KListBox::Extended); m_add = new QToolButton( box ); - m_add->setIconSet(SmallIconSet( "forward" )); + m_add->setIconSet(QApplication::reverseLayout() ? SmallIconSet( "back" ) : SmallIconSet( "forward" )); m_remove = new QToolButton( box ); - m_remove->setIconSet(SmallIconSet( "back" )); + m_remove->setIconSet(QApplication::reverseLayout() ? SmallIconSet( "forward" ) : SmallIconSet( "back" )); m_locationre = new QLineEdit(box); QLabel *lab = new QLabel(box);