qtinternetradio/ui/src/irstationdetailsview.cpp
changeset 11 f683e24efca3
parent 5 0930554dc389
child 14 896e9dbc5f19
equal deleted inserted replaced
8:3b03c28289e6 11:f683e24efca3
    65     unsigned int bitrate = 0;
    65     unsigned int bitrate = 0;
    66     aPreset->getChannelBitrate(KChannelBitrateIndex, bitrate);
    66     aPreset->getChannelBitrate(KChannelBitrateIndex, bitrate);
    67     iBitRate->setPlainText(QString::number(bitrate) + QString("kbps"));
    67     iBitRate->setPlainText(QString::number(bitrate) + QString("kbps"));
    68 
    68 
    69     iDescription->setPlainText(aPreset->description);
    69     iDescription->setPlainText(aPreset->description);
    70     iNowPlayingUrl->setPlainText(aPreset->getURLsForBitrate(bitrate)->at(KChannelURLIndex));
    70 
       
    71     QList<QString> *urlList = aPreset->getURLsForBitrate(bitrate);
       
    72     if (urlList != NULL)
       
    73     {
       
    74         iNowPlayingUrl->setPlainText(urlList->at(KChannelURLIndex));
       
    75     }
       
    76     delete urlList;
    71 }
    77 }
    72 
    78 
    73 /*
    79 /*
    74  * Description : update the station information.
    80  * Description : update the station information.
    75  */
    81  */