summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-30 15:31:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-30 15:31:55 (GMT)
commit6c6d21d6fdec74ae97ea653aaad799524a13447d (patch)
treee876506c6901112e8af83fd6b9737515adf57200
parent6209bdcb80b6fb091bddd82b551435523e76a360 (diff)
downloadswift-6c6d21d6fdec74ae97ea653aaad799524a13447d.zip
swift-6c6d21d6fdec74ae97ea653aaad799524a13447d.tar.bz2
Tweaked font size.
-rw-r--r--Swift/QtUI/QtAvatarWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtAvatarWidget.cpp b/Swift/QtUI/QtAvatarWidget.cpp
index 1ee7c73..941e20e 100644
--- a/Swift/QtUI/QtAvatarWidget.cpp
+++ b/Swift/QtUI/QtAvatarWidget.cpp
@@ -55,6 +55,9 @@ void QtAvatarWidget::setAvatar(const ByteArray& data, const String& type) {
image = QImage(":/icons/no-avatar.png");
QPainter painter(&image);
painter.setPen(Qt::gray);
+ QFont font = painter.font();
+ font.setPointSize(14);
+ painter.setFont(font);
painter.drawText(0, 0, image.height(), image.width(), Qt::AlignHCenter | Qt::AlignVCenter, "No picture");
}