LeftEdge and RightEdge positioning was swapped
BUG:333281
This commit is contained in:
parent
96e2522b8a
commit
a0b52f4bf8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user