diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-01-06 23:32:16 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-01-06 23:32:16 -0500 |
| commit | 0acae04908d05fffdd333ed5bcd16d4e389d7863 (patch) | |
| tree | 8351fe9cda74694d22a98826b57c5d8320d458ab /sigmodr/ValidationDialog.cpp | |
| parent | ee514f8b7e609516a6d6528141260341880f8b5b (diff) | |
| download | sigen-0acae04908d05fffdd333ed5bcd16d4e389d7863.tar.gz sigen-0acae04908d05fffdd333ed5bcd16d4e389d7863.tar.xz sigen-0acae04908d05fffdd333ed5bcd16d4e389d7863.zip | |
Krazy check fixes
Diffstat (limited to 'sigmodr/ValidationDialog.cpp')
| -rw-r--r-- | sigmodr/ValidationDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/ValidationDialog.cpp b/sigmodr/ValidationDialog.cpp index 43290859..8a32486d 100644 --- a/sigmodr/ValidationDialog.cpp +++ b/sigmodr/ValidationDialog.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -110,9 +110,9 @@ void Sigmodr::ValidationDialog::insertMessage(const QString& msg, const QBrush& void Sigmodr::ValidationDialog::addMessage(const QString& msg) { - if (msg.startsWith("++")) + if (msg.startsWith(QString("++"))) m_parents.push(ObjectErrorCount(new QTreeWidgetItem(QStringList(msg.mid(2))), 0)); - else if (msg.startsWith("--")) + else if (msg.startsWith(QString("--"))) { ObjectErrorCount count = m_parents.pop(); if (count.second) |
