diff options
| author | 2017-11-28 10:35:26 +0100 | |
|---|---|---|
| committer | 2017-11-28 10:35:26 +0100 | |
| commit | 4516fab0081b0db73b7401816a521453ab77ecc6 (patch) | |
| tree | 0cbdf6fc0c0b603a3a9dc9523f5e29302dd5467a /booleancondition.cpp | |
| parent | 95d4b12f2900f13e5836cb460261c96889bdd4e5 (diff) | |
| download | OneRoll-4516fab0081b0db73b7401816a521453ab77ecc6.tar.gz OneRoll-4516fab0081b0db73b7401816a521453ab77ecc6.zip | |
add stuff to debug if operator in if operator
Diffstat (limited to 'booleancondition.cpp')
| -rw-r--r-- | booleancondition.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/booleancondition.cpp b/booleancondition.cpp index 7be9836..2a3e1b5 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -20,7 +20,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include "booleancondition.h" - +#include <QDebug> BooleanCondition::BooleanCondition() : m_operator(Equal) @@ -39,8 +39,9 @@ qint64 BooleanCondition::hasValid(Die* b,bool recursive,bool unhighlight) const } qint64 sum= 0; - foreach(qint64 value, listValues) + for(qint64 value: listValues) { + qDebug() << "value" << value << m_value; switch(m_operator) { case Equal: |