radioapp/radiouiengine/src/radiohistoryitem_p.cpp
changeset 32 189d20c34778
parent 24 6df133bd92e1
child 37 451b2e1545b2
--- a/radioapp/radiouiengine/src/radiohistoryitem_p.cpp	Fri Jun 11 13:38:32 2010 +0300
+++ b/radioapp/radiouiengine/src/radiohistoryitem_p.cpp	Wed Jun 23 18:12:57 2010 +0300
@@ -34,6 +34,20 @@
 /*!
  *
  */
+RadioHistoryItemPrivate::RadioHistoryItemPrivate( const RadioHistoryItemPrivate& other ) :
+    QSharedData( other ),
+    mId( other.mId ),
+    mArtist( other.mArtist ),
+    mTitle( other.mTitle ),
+    mFrequency( other.mFrequency ),
+    mTagged( other.mTagged ),
+    mFromRds( other.mFromRds )
+{
+}
+
+/*!
+ *
+ */
 RadioHistoryItemPrivate::RadioHistoryItemPrivate( const QString& artist,
                                                   const QString& title )
 {
@@ -45,7 +59,6 @@
  */
 void RadioHistoryItemPrivate::init( const QString& artist, const QString& title )
 {
-    ref = 1;
     mId = -1;
     mArtist = artist;
     mTitle = title;