in RTL, the geometries are reversed; compare them with that taken into consideration
BUG:187406 svn path=/trunk/KDE/kdelibs/; revision=992935
This commit is contained in:
parent
3b02b725af
commit
18959b552a
@ -271,6 +271,10 @@ bool appletConfigLessThan(const KConfigGroup &c1, const KConfigGroup &c2)
|
||||
QPointF p2 = c2.readEntry("geometry", QRectF()).topLeft();
|
||||
|
||||
if (!qFuzzyCompare(p1.x(), p2.x())) {
|
||||
if (QApplication::layoutDirection() == Qt::RightToLeft) {
|
||||
return p1.x() > p2.x();
|
||||
}
|
||||
|
||||
return p1.x() < p2.x();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user