--- a/qtinternetradio/ui/src/irstationdetailsview.cpp Fri Jun 11 13:30:40 2010 +0300
+++ b/qtinternetradio/ui/src/irstationdetailsview.cpp Wed Jun 23 18:04:00 2010 +0300
@@ -67,7 +67,13 @@
iBitRate->setPlainText(QString::number(bitrate) + QString("kbps"));
iDescription->setPlainText(aPreset->description);
- iNowPlayingUrl->setPlainText(aPreset->getURLsForBitrate(bitrate)->at(KChannelURLIndex));
+
+ QList<QString> *urlList = aPreset->getURLsForBitrate(bitrate);
+ if (urlList != NULL)
+ {
+ iNowPlayingUrl->setPlainText(urlList->at(KChannelURLIndex));
+ }
+ delete urlList;
}
/*