diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-04 15:37:18 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-04 15:37:18 +0100 |
commit | c9813c11a0c8a928d8fac4eb63efd29eec50047d (patch) | |
tree | d46e841c88f75adf0e519975320f48821acaec64 /src/clicktoflash.h | |
parent | delete clicktoflash object just when detection doesn't fail. (diff) | |
download | rekonq-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.h | 3 |
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 */ |