radioapp/radiouiengine/src/radiohistoryitem.cpp
changeset 57 21be958eb3ce
parent 51 bbebb0235466
equal deleted inserted replaced
56:04837bf3a628 57:21be958eb3ce
    23  *
    23  *
    24  */
    24  */
    25 RadioHistoryItem::RadioHistoryItem() :
    25 RadioHistoryItem::RadioHistoryItem() :
    26     mData( new RadioHistoryItemPrivate() )
    26     mData( new RadioHistoryItemPrivate() )
    27 {
    27 {
    28     mData->ref.ref();
       
    29 }
    28 }
    30 
    29 
    31 /*!
    30 /*!
    32  *
    31  *
    33  */
    32  */
    74 void RadioHistoryItem::reset()
    73 void RadioHistoryItem::reset()
    75 {
    74 {
    76     mData->ref.deref();
    75     mData->ref.deref();
    77     mData = NULL;
    76     mData = NULL;
    78     mData = new RadioHistoryItemPrivate();
    77     mData = new RadioHistoryItemPrivate();
    79     mData->ref.ref();
       
    80 }
    78 }
    81 
    79 
    82 /*!
    80 /*!
    83  *
    81  *
    84  */
    82  */