summaryrefslogtreecommitdiff
path: root/quacker/letterbox.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-07-21 02:06:00 -0500
commitb67605814738d17484e508d037b8b1f09c27cab6 (patch)
tree9584efaa02ac17a1e0dd91b9b36797441c3cf593 /quacker/letterbox.cpp
parent592be355923ea0fae3630af6fe3ba8f11523d9e4 (diff)
Visual C++ compiler warning fixes.
Mostly signed/unsigned/size_t mismatches, except for one case treating a bool as an integer.
Diffstat (limited to 'quacker/letterbox.cpp')
-rw-r--r--quacker/letterbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quacker/letterbox.cpp b/quacker/letterbox.cpp
index faa646d..8edcaa5 100644
--- a/quacker/letterbox.cpp
+++ b/quacker/letterbox.cpp
@@ -733,7 +733,7 @@ void Letterbox::processAnswer(const QString &answer)
QString upperAnswer(answer.toUpper());
- if (m_submittedAnswers.contains(upperAnswer) > 0)
+ if (m_submittedAnswers.contains(upperAnswer))
{
statusBar()->showMessage(tr("You already submitted %1.").arg(upperAnswer));
m_lineEdit->clear();