radioapp/radiouiengine/src/radiostation.cpp
changeset 50 c44f9bb56771
parent 41 3a6b55c6390c
--- a/radioapp/radiouiengine/src/radiostation.cpp	Thu Sep 02 20:26:56 2010 +0300
+++ b/radioapp/radiouiengine/src/radiostation.cpp	Fri Sep 17 08:29:29 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 );