[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.16-1409-g5afdf4d
hausmann at webkit.org
hausmann at webkit.org
Thu Dec 3 13:27:34 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 5a7211b08df7732ba740f1faa91b2eb33d7ad2a5
Author: hausmann at webkit.org <hausmann at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 5 08:23:11 2009 +0000
Prospective build fix against Qt 4.5 (build bot)
Patch by Simon Hausmann <hausmann at webkit.org> on 2009-11-05
* Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::setInputMethodEnabled): Guard the
use of Qt 4.6 specific API with #ifdefs.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/qt/Api/qgraphicswebview.cpp b/WebKit/qt/Api/qgraphicswebview.cpp
index e1288bc..afc20dc 100644
--- a/WebKit/qt/Api/qgraphicswebview.cpp
+++ b/WebKit/qt/Api/qgraphicswebview.cpp
@@ -90,7 +90,9 @@ void QGraphicsWebViewPrivate::update(const QRect & dirtyRect)
void QGraphicsWebViewPrivate::setInputMethodEnabled(bool enable)
{
+#if QT_VERSION >= QT_VERSION_CHECK(4, 6, 0)
q->setFlag(QGraphicsItem::ItemAcceptsInputMethod, enable);
+#endif
}
#if QT_VERSION >= 0x040600
diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog
index e40c95c..8cf5141 100644
--- a/WebKit/qt/ChangeLog
+++ b/WebKit/qt/ChangeLog
@@ -1,3 +1,11 @@
+2009-11-05 Simon Hausmann <hausmann at webkit.org>
+
+ Prospective build fix against Qt 4.5 (build bot)
+
+ * Api/qgraphicswebview.cpp:
+ (QGraphicsWebViewPrivate::setInputMethodEnabled): Guard the
+ use of Qt 4.6 specific API with #ifdefs.
+
2009-11-01 Simon Hausmann <hausmann at webkit.org>
Reviewed by Kenneth Christiansen.
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list