LeftEdge and RightEdge positioning was swapped

BUG:333281
This commit is contained in:
Marco Martin 2014-04-11 15:26:02 +02:00
parent 96e2522b8a
commit a0b52f4bf8

View File

@ -572,9 +572,9 @@ QPoint Dialog::popupPosition(QQuickItem *item, const QSize &size)
if (d->location == Plasma::Types::BottomEdge) {
dialogPos = bottomPoint;
} else if (d->location == Plasma::Types::LeftEdge) {
dialogPos = leftPoint;
} else if (d->location == Plasma::Types::RightEdge) {
dialogPos = rightPoint;
} else if (d->location == Plasma::Types::RightEdge) {
dialogPos = leftPoint;
} else { // Types::TopEdge
dialogPos = topPoint;
}