From d20575b65d9b6d0f13e3b284bff32d181b19a888 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 25 Aug 2010 12:36:37 +0200 Subject: 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! --- src/webtab.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/webtab.h') 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 +#include + +// 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; + QWeakPointer _previewSelectorBar; }; #endif -- cgit v1.2.1