radioapp/radiouiengine/src/radiohistorymodel.cpp
changeset 34 bc10a61bd7d3
parent 28 075425b8d9a4
child 37 451b2e1545b2
child 54 a8ba0c289b44
--- a/radioapp/radiouiengine/src/radiohistorymodel.cpp	Fri Jun 11 13:38:32 2010 +0300
+++ b/radioapp/radiouiengine/src/radiohistorymodel.cpp	Fri Jun 25 19:09:05 2010 +0300
@@ -49,7 +49,6 @@
  */
 RadioHistoryModel::~RadioHistoryModel()
 {
-    delete d_ptr;
 }
 
 /*!
@@ -121,6 +120,7 @@
 {
     Q_D( RadioHistoryModel );
     d->setViewMode( showTagged ? RadioHistoryModelPrivate::ShowTagged : RadioHistoryModelPrivate::ShowAll );
+    reset();
 }
 
 /*!