Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
57cc0df0
Commit
57cc0df0
authored
Aug 26, 2010
by
hjk
Browse files
debugger: don't show format options for 'bool'
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2126
parent
8131ff2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
57cc0df0
...
...
@@ -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
(
'*'
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment