Commit 57cc0df0 authored by hjk's avatar hjk
Browse files

debugger: don't show format options for 'bool'
parent 8131ff2d
......@@ -669,7 +669,7 @@ QVariant WatchModel::data(const QModelIndex &idx, int role) const
return m_handler->m_expandedINames.contains(data.iname);
case LocalsTypeFormatListRole: {
if (isIntType(data.type))
if (isIntType(data.type) && data.type != QLatin1String("bool"))
return QStringList() << tr("decimal") << tr("hexadecimal")
<< tr("binary") << tr("octal");
if (data.type.endsWith(QLatin1Char('*')))
Supports Markdown
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