radioapp/radiouiengine/src/radiostation.cpp
changeset 47 74b7c6e79031
parent 36 ba22309243a1
child 57 21be958eb3ce
--- a/radioapp/radiouiengine/src/radiostation.cpp	Mon Aug 23 14:17:50 2010 +0300
+++ b/radioapp/radiouiengine/src/radiostation.cpp	Fri Sep 03 12:25:04 2010 +0300
@@ -182,7 +182,7 @@
 {
     // Name emptiness is checked because this name setter is used by incoming RDS PS name
     // and empty names should be ignored
-    if ( !name.isEmpty() && !mData->isRenamedByUser() && mData->mName.compare( name ) != 0 ) {
+    if ( !name.isEmpty() && !mData->isRenamedByUser() && mData->mName.compare( name.trimmed() ) != 0 ) {
         mData->mName = name.trimmed();
         mData->mChangeFlags |= RadioStation::PersistentDataChanged | RadioStation::NameChanged;
         mData->setStationHasSentRds( true );