radioapp/radiouiengine/src/radiomonitorservice.cpp
changeset 51 bbebb0235466
parent 47 74b7c6e79031
child 57 21be958eb3ce
--- a/radioapp/radiouiengine/src/radiomonitorservice.cpp	Fri Sep 03 12:25:04 2010 +0300
+++ b/radioapp/radiouiengine/src/radiomonitorservice.cpp	Mon Sep 20 18:04:48 2010 +0300
@@ -127,6 +127,9 @@
     QVariantList notificationList;
     QVariant notification;
 
+    notification.setValue( RadioNotificationData( RadioServiceNotification::Region, mUiEngine.api().region() ) );
+    notificationList.append( notification );
+
     RadioStatus::Status radioStatus = determineRadioStatus();
     notification.setValue( RadioNotificationData( RadioServiceNotification::RadioStatus, radioStatus ) );
     notificationList.append( notification );
@@ -146,8 +149,7 @@
     }
 
     if ( station.genre() > 0 ) {
-        notification.setValue( RadioNotificationData( RadioServiceNotification::Genre,
-                        mUiEngine.api().genreToString( station.genre(), GenreTarget::HomeScreen ) ) );
+        notification.setValue( RadioNotificationData( RadioServiceNotification::Genre, station.genre() ) );
         notificationList.append( notification );
     }
 
@@ -226,8 +228,7 @@
     QVariant notification;
 
     if ( station.hasDataChanged( RadioStation::GenreChanged ) ) {
-        const QString genre = uiEngine.genreToString( station.genre(), GenreTarget::HomeScreen );
-        notification.setValue( RadioNotificationData( RadioServiceNotification::Genre, genre ) );
+        notification.setValue( RadioNotificationData( RadioServiceNotification::Genre, station.genre() ) );
         list.append( notification );
     }