--- a/radioapp/radiouiengine/src/radiostationmodel_p.cpp Mon Aug 23 14:17:50 2010 +0300
+++ b/radioapp/radiouiengine/src/radiostationmodel_p.cpp Fri Sep 03 12:25:04 2010 +0300
@@ -192,7 +192,7 @@
void RadioStationModelPrivate::setCurrentPsName( uint frequency, const QString& name )
{
Q_Q( RadioStationModel );
- LOG_FORMAT( "void RadioStationModelPrivate::setCurrentPsName: %s", GETSTRING( name ) );
+ LOG_FORMAT( "RadioStationModelPrivate::setCurrentPsName: %s", GETSTRING( name ) );
RadioStation station = q->findStation( frequency, FindCriteria::IncludeManualStation );
if ( !station.isValid() ) {
LOG( "Unable to find current station. Ignoring RDS" );
@@ -330,3 +330,17 @@
}
return favoriteList;
}
+
+/*!
+ *
+ */
+QList<RadioStation> RadioStationModelPrivate::locals() const
+{
+ QList<RadioStation> localList;
+ foreach( const RadioStation& tempStation, mStations ) {
+ if ( !tempStation.isFavorite() ) {
+ localList.append( tempStation );
+ }
+ }
+ return localList;
+}