in RTL, the geometries are reversed; compare them with that taken into consideration
CCBUG:187406 svn path=/branches/KDE/4.3/kdelibs/; revision=992936
This commit is contained in:
parent
a90688399e
commit
17c459f9e1
@ -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