debugger: don't show format options for 'bool'

http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2126
This commit is contained in:
hjk
2010-08-26 17:23:26 +02:00
parent 8131ff2df7
commit 57cc0df0f6

View File

@@ -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('*')))