[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
benjamin.poulain at nokia.com
benjamin.poulain at nokia.com
Wed Dec 22 14:26:33 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 0cd875554ab66095e817a5d436567baf62c529a5
Author: benjamin.poulain at nokia.com <benjamin.poulain at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Oct 8 17:23:50 2010 +0000
2010-10-08 Benjamin Poulain <benjamin.poulain at nokia.com>
Reviewed by Andreas Kling.
[Qt] Slider widgets looks bad on Mac
https://bugs.webkit.org/show_bug.cgi?id=47421
This patch change the rendering of the slider to only have the
subcontrols that would be defined by default on a QSlider.
* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::paintSliderTrack):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c83786c..babffb0 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-10-08 Benjamin Poulain <benjamin.poulain at nokia.com>
+
+ Reviewed by Andreas Kling.
+
+ [Qt] Slider widgets looks bad on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=47421
+
+ This patch change the rendering of the slider to only have the
+ subcontrols that would be defined by default on a QSlider.
+
+ * platform/qt/RenderThemeQt.cpp:
+ (WebCore::RenderThemeQt::paintSliderTrack):
+
2010-10-08 Renata Hodovan <reni at inf.u-szeged.hu>
Reviewed by Andreas Kling.
diff --git a/WebCore/platform/qt/RenderThemeQt.cpp b/WebCore/platform/qt/RenderThemeQt.cpp
index 5909d4a..50b5de6 100644
--- a/WebCore/platform/qt/RenderThemeQt.cpp
+++ b/WebCore/platform/qt/RenderThemeQt.cpp
@@ -779,6 +779,7 @@ bool RenderThemeQt::paintSliderTrack(RenderObject* o, const PaintInfo& pi,
QStyleOptionSlider option;
if (p.widget)
option.initFrom(p.widget);
+ option.subControls = QStyle::SC_SliderGroove | QStyle::SC_SliderHandle;
ControlPart appearance = initializeCommonQStyleOptions(option, o);
RenderSlider* renderSlider = toRenderSlider(o);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list