[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kdepim-3.5.5+/kpilot/lib
From:       Jason vanRijn Kasper <vR () movingparts ! net>
Date:       2007-03-09 14:49:53
Message-ID: 1173451793.558874.7657.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 640958 by vanrijn:

fixing bug that caused note of 'Location:\n' to be put on all palm records

 M  +1 -1      branches/work/kdepim-3.5.5+/kpilot/lib/pilotDateEntry.cc  


--- branches/work/kdepim-3.5.5+/kpilot/lib/pilotDateEntry.cc #640957:640958
@@ -390,7 +390,7 @@
 	QString note = Pilot::fromPilot(getNoteP());
 	QRegExp rxp = QRegExp("^[Ll]ocation:[^\n]+\n");
 
-	if( s.isNull() )
+	if( s.isNull() || s.isEmpty() )
 	{
 		note.replace(rxp,"");
 	}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic