summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-24 10:24:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-24 11:27:39 (GMT)
commit7617e03e637cfa153d3fc5cfcb9edc709f4323e3 (patch)
treeab13bd36cb3452a0935b14791d58a8d5387300f0 /Swift
parent6b4bdb629ead79141b20ca72b8634136d351966d (diff)
downloadswift-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.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtWebView.cpp1
-rwxr-xr-xSwift/resources/themes/Default/main.css3
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 {