diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-24 10:24:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-24 11:27:39 (GMT) |
commit | 7617e03e637cfa153d3fc5cfcb9edc709f4323e3 (patch) | |
tree | ab13bd36cb3452a0935b14791d58a8d5387300f0 | |
parent | 6b4bdb629ead79141b20ca72b8634136d351966d (diff) | |
download | swift-7617e03e637cfa153d3fc5cfcb9edc709f4323e3.zip swift-7617e03e637cfa153d3fc5cfcb9edc709f4323e3.tar.bz2 |
Use smooth image interpolation in the chat dialog.
Resolves: #617
Release-Notes: The quality of the avatars has improved.
-rw-r--r-- | Swift/QtUI/QtWebView.cpp | 1 | ||||
-rwxr-xr-x | Swift/resources/themes/Default/main.css | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtWebView.cpp b/Swift/QtUI/QtWebView.cpp index df8479d..553ac56 100644 --- a/Swift/QtUI/QtWebView.cpp +++ b/Swift/QtUI/QtWebView.cpp @@ -13,6 +13,7 @@ namespace Swift { QtWebView::QtWebView(QWidget* parent) : QWebView(parent) { + setRenderHint(QPainter::SmoothPixmapTransform); } void QtWebView::keyPressEvent(QKeyEvent* event) { diff --git a/Swift/resources/themes/Default/main.css b/Swift/resources/themes/Default/main.css index 9e263bf..4982ba6 100755 --- a/Swift/resources/themes/Default/main.css +++ b/Swift/resources/themes/Default/main.css @@ -85,7 +85,8 @@ body { } .chatItem { - opacity:0.96; + /*Removing opacity, because this causes Qt's WebKit to draw low-quality images */ + /*opacity:0.96;*/ } .tableBubble { |