@@ -98,7 +98,7 @@ void NotifyClient::init()
9898  s_icon.clear ();
9999  i_urgency = Nc::UrgencyNormal;
100100  i_expire_timeout = -1 ;
101-   b_overwrite = true ;
101+   b_overwrite = false ;
102102
103103  return ;
104104}
@@ -173,20 +173,20 @@ void NotifyClient::sendNotification ()
173173  //  process the icon, if we are using a fallback icon create a temporary file to hold it
174174    QTemporaryFile*  tempfileicon = NULL ; 
175175    if  (! s_icon.isEmpty () ) {   
176- 			 if  (QFile::exists (s_icon) ) {
177- 				 tempfileicon = new  QTemporaryFile (this );
178- 				 tempfileicon->setAutoRemove (false );
179- 				 if  (tempfileicon->open () ) {
180- 					 QPixmap px = QPixmap (s_icon);
181- 					 px.save (tempfileicon->fileName ()," PNG" 
182- 					 app_icon =  tempfileicon->fileName ().prepend (" file://" 
183- 				 } //  if tempfileicon could be opened
184- 			 } //  if s_icon exists as a disk file
176+        if  (QFile::exists (s_icon) ) {
177+ 	       tempfileicon = new  QTemporaryFile (this );
178+ 	       tempfileicon->setAutoRemove (false );
179+ 	       if  (tempfileicon->open () ) {
180+ 		       QPixmap px = QPixmap (s_icon);
181+ 		       px.save (tempfileicon->fileName ()," PNG" 
182+ 		       app_icon =  tempfileicon->fileName ().prepend (" file://" 
183+ 	       } //  if tempfileicon could be opened
184+        } //  if s_icon exists as a disk file
185185
186- 			 //  assume s_icon exists as a theme icon, don't check it here.  That
187- 			 //  check needs to be done in the calling program.
188- 			 else  app_icon = s_icon;
189- 		 } //  if s_icon is not empty
186+        //  assume s_icon exists as a theme icon, don't check it here.  That
187+        //  check needs to be done in the calling program.
188+        else  app_icon = s_icon;
189+      } //  if s_icon is not empty
190190
191191  QDBusReply<quint32> reply = notifyclient->call (QLatin1String (" Notify" 
192192
0 commit comments