summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-27 11:28:52 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-27 11:28:52 (GMT)
commitf2135cccffbef6d6accb49f404d9b23ade418641 (patch)
tree53fd1485581fbec2f784d0795d5dd0c30f7b11e7 /src/3rdparty
parent14b772b03e0c1f5bcd5f7c25d0ae35593a9f6427 (diff)
downloadQt-f2135cccffbef6d6accb49f404d9b23ade418641.zip
Qt-f2135cccffbef6d6accb49f404d9b23ade418641.tar.gz
Qt-f2135cccffbef6d6accb49f404d9b23ade418641.tar.bz2
"enabled" parameter should default to true, as with QGraphicsView and
QPainter. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp2
-rw-r--r--src/3rdparty/webkit/WebKit/qt/Api/qwebview.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp b/src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp
index 34da644..6c5860c 100644
--- a/src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp
+++ b/src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp
@@ -617,6 +617,8 @@ qreal QWebView::textSizeMultiplier() const
These hints are used to initialize QPainter before painting the web page.
QPainter::TextAntialiasing is enabled by default.
+
+ \sa QPainter::renderHints()
*/
QPainter::RenderHints QWebView::renderHints() const
{
diff --git a/src/3rdparty/webkit/WebKit/qt/Api/qwebview.h b/src/3rdparty/webkit/WebKit/qt/Api/qwebview.h
index 5c2c7a0..0dab925 100644
--- a/src/3rdparty/webkit/WebKit/qt/Api/qwebview.h
+++ b/src/3rdparty/webkit/WebKit/qt/Api/qwebview.h
@@ -106,7 +106,7 @@ public:
QPainter::RenderHints renderHints() const;
void setRenderHints(QPainter::RenderHints hints);
- void setRenderHint(QPainter::RenderHint hint, bool enabled);
+ void setRenderHint(QPainter::RenderHint hint, bool enabled = true);
bool findText(const QString &subString, QWebPage::FindFlags options = 0);