diff --git a/tabbox/declarative.cpp b/tabbox/declarative.cpp index 19e237fa89..5724c8b78f 100644 --- a/tabbox/declarative.cpp +++ b/tabbox/declarative.cpp @@ -307,7 +307,7 @@ void DeclarativeView::slotUpdateGeometry() if (alignment & Qt::AlignLeft) { x = m_currentScreenGeometry.x(); - } else if (alignment & Qt::AlignLeft) { + } else if (alignment & Qt::AlignRight) { x = m_currentScreenGeometry.right() - width; //Center } else {