diff options
author | hjk <[email protected]> | 2010-08-26 17:23:26 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2010-08-26 17:24:01 +0200 |
commit | 57cc0df0f6dafda3181a5b67d14bfe32ecb06908 (patch) | |
tree | 102334d0d2cd4c0bd02ff54f2a4f41587ef999dc /src/plugins/debugger/watchhandler.cpp | |
parent | 8131ff2df7eaeac5d751043ec30fb36d3dfdc2ac (diff) |
debugger: don't show format options for 'bool'
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2126
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r-- | src/plugins/debugger/watchhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 6c58fa0f588..1890aeba266 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -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('*'))) |