aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2019-10-08 15:21:12 +0200
committerEike Ziller <[email protected]>2019-10-08 15:21:12 +0200
commita19d905ea502362d75c1a8115320328c20f8fbf3 (patch)
tree2631ecae5d70d5c4e547283e18a08cbd098fd436 /src/plugins/debugger/watchhandler.cpp
parenta3f5fa09f5e2b177f4fbdc20b49f47e68c2184e5 (diff)
parentf0bd0a8baf5a3579a8b06fe6a8ea3cb41c9e59be (diff)
Merge remote-tracking branch 'origin/4.10' into 4.11
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp
index 8201e13a71e..a254036bf12 100644
--- a/src/plugins/debugger/watchhandler.cpp
+++ b/src/plugins/debugger/watchhandler.cpp
@@ -899,9 +899,9 @@ static QColor valueColor(const WatchItem *item, int column)
color = Theme::Debugger_WatchItem_ValueInvalid;
else if (!model->m_contentsValid && !item->isInspect())
color = Theme::Debugger_WatchItem_ValueInvalid;
- else if (column == 1 && item->value.isEmpty()) // This might still show 0x...
+ else if (item->value.isEmpty()) // This might still show 0x...
color = Theme::Debugger_WatchItem_ValueInvalid;
- else if (column == 1 && item->value != model->m_valueCache.value(item->iname))
+ else if (item->value != model->m_valueCache.value(item->iname))
color = Theme::Debugger_WatchItem_ValueChanged;
}
}