From 3c1a47964d8434262d2ad9285345fb884f2a839b Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Mon, 23 Nov 2009 19:53:43 +0000 Subject: Don't cut off the roster in its prime diff --git a/Swift/QtUI/Roster/RosterDelegate.cpp b/Swift/QtUI/Roster/RosterDelegate.cpp index 661c02d..77b0401 100644 --- a/Swift/QtUI/Roster/RosterDelegate.cpp +++ b/Swift/QtUI/Roster/RosterDelegate.cpp @@ -179,7 +179,7 @@ void RosterDelegate::paintContact(QPainter* painter, const QStyleOptionViewItem& painter->setFont(nameFont_); int extraFontWidth = nameMetrics.width("H"); int leftOffset = avatarRegion.right() + horizontalMargin_ * 2 + extraFontWidth / 2; - QRect textRegion(fullRegion.adjusted(leftOffset, 0, -leftOffset, 0)); + QRect textRegion(fullRegion.adjusted(leftOffset, 0, 0/*-leftOffset*/, 0)); int nameHeight = nameMetrics.height() + verticalMargin_; QRect nameRegion(textRegion.adjusted(0, verticalMargin_, 0, 0)); -- cgit v0.10.2-6-g49f6