summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-16 15:14:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-16 15:14:56 (GMT)
commit6bb73fb2d367a95cc1df2addf7dd5477b643c2e8 (patch)
treef6c42a9de8ff3800c9ffe1e44b92bff1e6eda7e6 /Swift/QtUI/QtRosterHeader.cpp
parent6d64d22bdc18a8b4d3ef1ae7087f657de6c9abd9 (diff)
downloadswift-6bb73fb2d367a95cc1df2addf7dd5477b643c2e8.zip
swift-6bb73fb2d367a95cc1df2addf7dd5477b643c2e8.tar.bz2
Adding in a button to the roster for 'Add Contact'
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.cpp')
-rw-r--r--Swift/QtUI/QtRosterHeader.cpp4
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("<","&lt;");
nameLabel_->setText("<b>" + reducedName + + "...</b>");
- qDebug() << "Shrunk " << escapedName << " down to " << reducedName;
+ // qDebug() << "Shrunk " << escapedName << " down to " << reducedName;
}
nameLabel_->setToolTip(name_);
}