assign, not compare :)

svn path=/trunk/KDE/kdelibs/; revision=1031675
This commit is contained in:
Aaron J. Seigo 2009-10-05 18:26:25 +00:00
parent e9dd015ebf
commit c61ec3e94e

View File

@ -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;
}
}