summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchdelegatewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/watchdelegatewidgets.cpp')
-rw-r--r--src/plugins/debugger/watchdelegatewidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchdelegatewidgets.cpp b/src/plugins/debugger/watchdelegatewidgets.cpp
index 4cd97049e9..cb167d70f7 100644
--- a/src/plugins/debugger/watchdelegatewidgets.cpp
+++ b/src/plugins/debugger/watchdelegatewidgets.cpp
@@ -116,7 +116,7 @@ QValidator::State IntegerValidator::validateEntry(const QString &s, int base, bo
return QValidator::Intermediate;
int pos = 0;
// Skip sign.
- if (signedV && s.at(pos) == '-') {
+ if (signedV && s.at(pos) == QLatin1Char('-')) {
pos++;
if (pos == size)
return QValidator::Intermediate;