[rkward-cvs] SF.net SVN: rkward-code:[4823] trunk/rkward/rkward/dataeditor/ rkvareditmodel.cpp

tfry at users.sf.net tfry at users.sf.net
Tue Sep 16 08:51:40 UTC 2014


Revision: 4823
          http://sourceforge.net/p/rkward/code/4823
Author:   tfry
Date:     2014-09-16 08:51:40 +0000 (Tue, 16 Sep 2014)
Log Message:
-----------
Silence a compiler warning

Modified Paths:
--------------
    trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp

Modified: trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp
===================================================================
--- trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp	2014-09-16 08:47:37 UTC (rev 4822)
+++ trunk/rkward/rkward/dataeditor/rkvareditmodel.cpp	2014-09-16 08:51:40 UTC (rev 4823)
@@ -302,7 +302,7 @@
 	if (role == Qt::EditRole) return var->getText (row, false);
 
 	RKVariable::Status status = var->cellStatus (row);
-	if ((role == Qt::BackgroundRole)) {
+	if (role == Qt::BackgroundRole) {
 		if (status == RKVariable::ValueInvalid) return (Qt::red);
 	} else if (role == Qt::ToolTipRole) {
 		if (status == RKVariable::ValueInvalid) return (i18n ("This value is not allowed, here"));





More information about the rkward-tracker mailing list