summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-11-23 19:53:43 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-11-23 19:53:43 (GMT)
commit3c1a47964d8434262d2ad9285345fb884f2a839b (patch)
tree64230efde601e6b9a90b6f2a4651a1a96d41a2fb /Swift/QtUI/Roster
parentb8aa124f6baa0c0a32ccfd7479fa1e6f0dff3487 (diff)
downloadswift-3c1a47964d8434262d2ad9285345fb884f2a839b.zip
swift-3c1a47964d8434262d2ad9285345fb884f2a839b.tar.bz2
Don't cut off the roster in its prime
Diffstat (limited to 'Swift/QtUI/Roster')
-rw-r--r--Swift/QtUI/Roster/RosterDelegate.cpp2
1 files changed, 1 insertions, 1 deletions
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));