From 57cc0df0f6dafda3181a5b67d14bfe32ecb06908 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Thu, 26 Aug 2010 17:23:26 +0200 Subject: [PATCH] debugger: don't show format options for 'bool' http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2126 --- src/plugins/debugger/watchhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('*'))) -- GitLab