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) {
|
if (d->location == Plasma::Types::BottomEdge) {
|
||||||
dialogPos = bottomPoint;
|
dialogPos = bottomPoint;
|
||||||
} else if (d->location == Plasma::Types::LeftEdge) {
|
} else if (d->location == Plasma::Types::LeftEdge) {
|
||||||
dialogPos = leftPoint;
|
|
||||||
} else if (d->location == Plasma::Types::RightEdge) {
|
|
||||||
dialogPos = rightPoint;
|
dialogPos = rightPoint;
|
||||||
|
} else if (d->location == Plasma::Types::RightEdge) {
|
||||||
|
dialogPos = leftPoint;
|
||||||
} else { // Types::TopEdge
|
} else { // Types::TopEdge
|
||||||
dialogPos = topPoint;
|
dialogPos = topPoint;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user