From c328e203e0d84177a0028d8ba5b0af4b82c16eeb Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 5 Feb 2010 00:29:13 +0100 Subject: QPointers --> QWeakPointers --- src/application.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/application.h') diff --git a/src/application.h b/src/application.h index 4b951ded..0c3bd3f5 100644 --- a/src/application.h +++ b/src/application.h @@ -38,7 +38,7 @@ #include // Qt Includes -#include +#include #include // Forward Declarations @@ -52,7 +52,7 @@ class AdBlockManager; class WebView; -typedef QList< QPointer > MainWindowList; +typedef QList< QWeakPointer > MainWindowList; namespace Rekonq @@ -139,10 +139,10 @@ private slots: void loadResolvedUrl(ThreadWeaver::Job *); private: - static QPointer s_historyManager; - static QPointer s_bookmarkProvider; - static QPointer s_sessionManager; - static QPointer s_adblockManager; + static QWeakPointer s_historyManager; + static QWeakPointer s_bookmarkProvider; + static QWeakPointer s_sessionManager; + static QWeakPointer s_adblockManager; MainWindowList m_mainWindows; }; -- cgit v1.2.1