diff --git a/src/AccountDelegate.cpp b/src/AccountDelegate.cpp index 906cb7c03..388f44895 100644 --- a/src/AccountDelegate.cpp +++ b/src/AccountDelegate.cpp @@ -389,7 +389,7 @@ AccountDelegate::drawAccountList( QPainter* painter, QStyleOptionViewItemV4& opt current += textHeight + PADDING/2; - leftOfAccounts = qMax( leftOfAccounts, textTopLeft.x() ); + leftOfAccounts = qMin( leftOfAccounts, textTopLeft.x() ); } return leftOfAccounts;