RTL fixes
This commit is contained in:
committed by
craig.p.drummond
parent
231a4f1f34
commit
62550239b5
@@ -40,7 +40,7 @@ ToggleList::ToggleList(QWidget *p)
|
||||
connect(selected, SIGNAL(currentItemChanged(QListWidgetItem*,QListWidgetItem*)), SLOT(selectedChanged(QListWidgetItem*)));
|
||||
upButton->setIcon(Icon("go-up"));
|
||||
downButton->setIcon(Icon("go-down"));
|
||||
bool rtl=Qt::RightToLeft==layoutDirection();
|
||||
bool rtl=isRightToLeft();
|
||||
addButton->setIcon(Icon(rtl ? "go-previous" : "go-next"));
|
||||
removeButton->setIcon(Icon(rtl ? "go-next" : "go-previous"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user