[rkward-cvs] SF.net SVN: rkward-code:[4924] trunk/rkward/rkward/plugin/ rkcomponentproperties.cpp

tfry at users.sf.net tfry at users.sf.net
Fri Oct 17 14:42:59 UTC 2014


Revision: 4924
          http://sourceforge.net/p/rkward/code/4924
Author:   tfry
Date:     2014-10-17 14:42:59 +0000 (Fri, 17 Oct 2014)
Log Message:
-----------
Silence some erroneous 'could not convert value to bool' warnings.

Modified Paths:
--------------
    trunk/rkward/rkward/plugin/rkcomponentproperties.cpp

Modified: trunk/rkward/rkward/plugin/rkcomponentproperties.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkcomponentproperties.cpp	2014-10-17 14:01:41 UTC (rev 4923)
+++ trunk/rkward/rkward/plugin/rkcomponentproperties.cpp	2014-10-17 14:42:59 UTC (rev 4924)
@@ -369,6 +369,7 @@
 
 	if (value == "true") return true;
 	if (value == "false") return false;
+	if (value.isEmpty ()) return false;
 	
 	if (ok) *ok = false;
 	return false;





More information about the rkward-tracker mailing list