summaryrefslogtreecommitdiff
path: root/src/clicktoflash.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-04 15:37:18 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-04 15:37:18 +0100
commitc9813c11a0c8a928d8fac4eb63efd29eec50047d (patch)
treed46e841c88f75adf0e519975320f48821acaec64 /src/clicktoflash.h
parentdelete clicktoflash object just when detection doesn't fail. (diff)
downloadrekonq-c9813c11a0c8a928d8fac4eb63efd29eec50047d.tar.xz
Fix Click to Flash.
In my tests it doesn't crash anymore and works ever well :) (Please, don't wake up me if this is just aa dream..)
Diffstat (limited to 'src/clicktoflash.h')
-rw-r--r--src/clicktoflash.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clicktoflash.h b/src/clicktoflash.h
index 2284ec7e..7d6c4e05 100644
--- a/src/clicktoflash.h
+++ b/src/clicktoflash.h
@@ -35,6 +35,7 @@
// Qt Includes
#include <QWidget>
#include <QUrl>
+#include <QWebElement>
// Forward Declarations
class WebPluginFactory;
@@ -54,6 +55,8 @@ private slots:
void load();
private:
+ bool checkElement(QWebElement el);
+
/**
used to find the right QWebElement between the ones of the different plugins
*/