Revision: 378
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=378&view=rev
Author: danxuliu
Date: 2012-08-20 12:29:17 +0000 (Mon, 20 Aug 2012)
Log Message:
-----------
Fix Krazy2 emptystrcompare issues.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-library/src/ObjectFinder.cpp
Modified: trunk/ktutorial/ktutorial-library/src/ObjectFinder.cpp
===================================================================
--- trunk/ktutorial/ktutorial-library/src/ObjectFinder.cpp 2012-08-20 12:27:48 UTC (rev 377)
+++ trunk/ktutorial/ktutorial-library/src/ObjectFinder.cpp 2012-08-20 12:29:17 UTC (rev 378)
@@ -92,7 +92,7 @@
int unnamedAncestorCount = 0;
while (objectPath.size() > unnamedAncestorCount &&
- objectPath[unnamedAncestorCount]->objectName() == "") {
+ objectPath[unnamedAncestorCount]->objectName().isEmpty()) {
unnamedAncestorCount++;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|