diff options
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(); |