diff options
Diffstat (limited to 'src')
-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 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) { |