summaryrefslogtreecommitdiff
path: root/src/clicktoflash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clicktoflash.cpp')
-rw-r--r--src/clicktoflash.cpp4
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)
{