diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-25 12:36:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-25 12:36:37 +0200 |
commit | d20575b65d9b6d0f13e3b284bff32d181b19a888 (patch) | |
tree | a3eacff46a8767ad0301e2d0360d127c3b85a388 /src/webtab.h | |
parent | Merge commit 'refs/merge-requests/2291' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-d20575b65d9b6d0f13e3b284bff32d181b19a888.tar.xz |
Adding QWeakPointers for the walletbar and the previewselectorbar.
While this can be overkilling for the previewselectorbar, I'd like doing it for all the
bars in our next stable, moving them INSIDE the webtab class, so that each webtab has its findbar, its
zoombar and so on.
This should fix
BUG: 243508
Please, let me know if it's not the case.. Thanks!
Diffstat (limited to 'src/webtab.h')
-rw-r--r-- | src/webtab.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webtab.h b/src/webtab.h index e34bbccf..a24418ef 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -41,6 +41,11 @@ // Qt Includes #include <QWidget> +#include <QWeakPointer> + +// Forward Declarations +class WalletBar; +class PreviewSelectorBar; class REKONQ_TESTS_EXPORT WebTab : public QWidget @@ -74,6 +79,9 @@ private: WebView *_view; int m_progress; + + QWeakPointer<WalletBar> _walletBar; + QWeakPointer<PreviewSelectorBar> _previewSelectorBar; }; #endif |