summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {