summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-29 12:34:04 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-30 01:12:29 +0100
commitb998d27de702ddd1091db3af838f4af0439aaeee (patch)
treed6f352b5b2c18dbd2dc6e04c20f1dda94a13e278
parentrekonq 0.3.16 (diff)
downloadrekonq-b998d27de702ddd1091db3af838f4af0439aaeee.tar.xz
Restored QWebElementCollection
My qt copy was too old..
-rw-r--r--src/clicktoflash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clicktoflash.cpp b/src/clicktoflash.cpp
index e3e90996..4ec1a9c1 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)
{