diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-30 15:31:55 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-30 15:31:55 (GMT) |
commit | 6c6d21d6fdec74ae97ea653aaad799524a13447d (patch) | |
tree | e876506c6901112e8af83fd6b9737515adf57200 | |
parent | 6209bdcb80b6fb091bddd82b551435523e76a360 (diff) | |
download | swift-6c6d21d6fdec74ae97ea653aaad799524a13447d.zip swift-6c6d21d6fdec74ae97ea653aaad799524a13447d.tar.bz2 |
Tweaked font size.
-rw-r--r-- | Swift/QtUI/QtAvatarWidget.cpp | 3 |
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"); } |