From: hausmann Date: Thu, 8 Nov 2007 14:18:55 +0000 (+0000) Subject: Build fix for Qt 4.3. X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=4fda3b5b3081115b47f5a87d5f366f41654c0ad8 Build fix for Qt 4.3. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27596 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/WebKit/qt/Api/qwebsettings.cpp b/WebKit/qt/Api/qwebsettings.cpp index 8c249ce7c1b4..48dc638a0d99 100644 --- a/WebKit/qt/Api/qwebsettings.cpp +++ b/WebKit/qt/Api/qwebsettings.cpp @@ -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) diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog index a37d390a5454..74651c750171 100644 --- a/WebKit/qt/ChangeLog +++ b/WebKit/qt/ChangeLog @@ -1,3 +1,14 @@ +2007-11-08 Simon Hausmann + + 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 Reviewed by Lars Knoll .