Commit 2c403df6 authored by Friedemann Kleint's avatar Friedemann Kleint

Debugger: Fix setting of integer formats per type.

Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
parent 6e619900
......@@ -724,8 +724,8 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
switch (idx.column()) {
case 0: return data.name;
case 1: return formattedValue(data,
m_handler->m_individualFormats[data.iname],
m_handler->m_typeFormats[data.type]);
m_handler->m_individualFormats.value(data.iname, -1),
m_handler->m_typeFormats.value(data.type, -1));
case 2:
if (!data.displayedType.isEmpty())
return data.displayedType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment