diff -r 075425b8d9a4 -r bc10a61bd7d3 radioapp/radiouiengine/src/radiohistoryitem_p.cpp --- a/radioapp/radiouiengine/src/radiohistoryitem_p.cpp Fri Jun 11 13:38:32 2010 +0300 +++ b/radioapp/radiouiengine/src/radiohistoryitem_p.cpp Fri Jun 25 19:09:05 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;