diff -r 075425b8d9a4 -r 189d20c34778 radioapp/radiowidgets/inc/radiowindow.h --- a/radioapp/radiowidgets/inc/radiowindow.h Fri Jun 11 13:38:32 2010 +0300 +++ b/radioapp/radiowidgets/inc/radiowindow.h Wed Jun 23 18:12:57 2010 +0300 @@ -21,7 +21,7 @@ // System includes #include #include -#include +#include #include #include #include @@ -39,11 +39,11 @@ typedef QScopedPointer VolumeSliderPtr; /** - * QPointer is used to store the views because it tracks the deletion of the object and nulls + * QWeakPointer is used to store the views because it tracks the deletion of the object and nulls * the reference. Transient view like RadioHistoryView is destroyed after they are closed - * and QPointer will notice it. + * and QWeakPointer will notice it. */ -typedef QPointer ViewPtr; +typedef QWeakPointer ViewPtr; // Class declaration class WIDGETS_DLL_EXPORT RadioWindow : public HbMainWindow