assign, not compare :)
svn path=/trunk/KDE/kdelibs/; revision=1031675
This commit is contained in:
parent
e9dd015ebf
commit
c61ec3e94e
@ -541,9 +541,9 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
|
||||
//swap direction if necessary
|
||||
if (QApplication::isRightToLeft() && alignment != Qt::AlignCenter) {
|
||||
if (alignment == Qt::AlignRight) {
|
||||
alignment == Qt::AlignLeft;
|
||||
alignment = Qt::AlignLeft;
|
||||
} else {
|
||||
alignment == Qt::AlignRight;
|
||||
alignment = Qt::AlignRight;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user