diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-29 16:15:27 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-29 16:15:27 (GMT) |
commit | 030c2d8a448dbf17808b840df1d0379639867e99 (patch) | |
tree | e510f94602c35707a59759d7c27027ef8b957ae8 /Swift/QtUI/QtRosterHeader.cpp | |
parent | 2ceddd421319cbab2deb89821e81fb1a7bf724ae (diff) | |
download | swift-contrib-030c2d8a448dbf17808b840df1d0379639867e99.zip swift-contrib-030c2d8a448dbf17808b840df1d0379639867e99.tar.bz2 |
Show contact count on collapsed roster groups
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.cpp')
-rw-r--r-- | Swift/QtUI/QtRosterHeader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtRosterHeader.cpp b/Swift/QtUI/QtRosterHeader.cpp index 425b22d..2a01868 100644 --- a/Swift/QtUI/QtRosterHeader.cpp +++ b/Swift/QtUI/QtRosterHeader.cpp @@ -99,6 +99,9 @@ void QtRosterHeader::resizeNameLabel() { QString escapedName = name_; escapedName.replace("<","<"); nameLabel_->setText("<b>" + escapedName + "</b>"); + return; + //FIXME: Make this not an infinite loop, so it can be continued. + int reductionCount = 0; while (nameLabel_->sizeHint().width() + statusWidget_->width() + 30 > width()) { //qDebug() << nameLabel_->sizeHint().width() << " " << statusWidget_->width() << " " << width(); |