Build fix for Qt 4.3.
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 14:18:55 +0000 (14:18 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 14:18:55 +0000 (14:18 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27596 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/Api/qwebsettings.cpp
WebKit/qt/ChangeLog

index 8c249ce7c1b4b7e19aafa2babd6b1ce8fd06bccc..48dc638a0d991139e4974f8a2d39949c3480bab0 100644 (file)
@@ -176,7 +176,7 @@ QWebSettings::QWebSettings(WebCore::Settings *settings)
 QWebSettings::~QWebSettings()
 {
     if (d->settings)
-        allSettings()->removeOne(d);
+        allSettings()->removeAll(d);
 }
 
 void QWebSettings::setFontSize(FontSize type, int size)
index a37d390a545441ff7c6d1ab1184dd5ae0537a084..74651c7501717139d014f8aae3944107b6546546 100644 (file)
@@ -1,3 +1,14 @@
+2007-11-08  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
+
+        The buildbots use Qt 4.4 which has the function in question, but Qt
+        4.3 doesn't have it. Use removeAll() as replacement instead, it
+        shouldn't make a difference in performance.
+
+        * Api/qwebsettings.cpp:
+        (QWebSettings::~QWebSettings):
+
 2007-11-08  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
 
         Reviewed by Lars Knoll <lars@trolltech.com>.