diff options
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.cpp')
-rw-r--r-- | Swift/QtUI/QtRosterHeader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtRosterHeader.cpp b/Swift/QtUI/QtRosterHeader.cpp index 9b5410b..425b22d 100644 --- a/Swift/QtUI/QtRosterHeader.cpp +++ b/Swift/QtUI/QtRosterHeader.cpp @@ -101,13 +101,13 @@ void QtRosterHeader::resizeNameLabel() { nameLabel_->setText("<b>" + escapedName + "</b>"); int reductionCount = 0; while (nameLabel_->sizeHint().width() + statusWidget_->width() + 30 > width()) { - qDebug() << nameLabel_->sizeHint().width() << " " << statusWidget_->width() << " " << width(); + //qDebug() << nameLabel_->sizeHint().width() << " " << statusWidget_->width() << " " << width(); reductionCount++; QString reducedName = name_; reducedName.remove(name_.length() - reductionCount, reductionCount); reducedName.replace("<","<"); nameLabel_->setText("<b>" + reducedName + + "...</b>"); - qDebug() << "Shrunk " << escapedName << " down to " << reducedName; + // qDebug() << "Shrunk " << escapedName << " down to " << reducedName; } nameLabel_->setToolTip(name_); } |