diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-12-09 17:23:35 +0100 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-12-09 17:23:35 +0100 |
commit | ba21553e2e6ce17fc4ad84b5ab587b4e7bc5345c (patch) | |
tree | 64f7b3a5cec066f06268e954899a78523dcaedf5 /src/clicktoflash.cpp | |
parent | Change a bit the WebKit settings UI (diff) | |
parent | xss attach prevention. (diff) | |
download | rekonq-ba21553e2e6ce17fc4ad84b5ab587b4e7bc5345c.tar.xz |
Merge branch 'master' of git://gitorious.org/rekonq/mainline into click-to-flash-ui
Diffstat (limited to 'src/clicktoflash.cpp')
-rw-r--r-- | src/clicktoflash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clicktoflash.cpp b/src/clicktoflash.cpp index e5a3c8ad..b6ea1093 100644 --- a/src/clicktoflash.cpp +++ b/src/clicktoflash.cpp @@ -105,7 +105,7 @@ void ClickToFlash::load() QWebFrame *frame = frames.takeFirst(); QWebElement docElement = frame->documentElement(); - QList<QWebElement> elements; + QWebElementCollection elements; elements.append(docElement.findAll(selector.arg(QLatin1String("object")))); elements.append(docElement.findAll(selector.arg(QLatin1String("embed")))); @@ -119,7 +119,7 @@ void ClickToFlash::load() isRightElement = true; else { - QList<QWebElement> collec = element.findAll("param"); + QWebElementCollection collec = element.findAll("param"); int i = 0; while(i < collec.count() && isRightElement == false) { |