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
02e90fd7
Commit
02e90fd7
authored
Dec 08, 2009
by
hjk
Browse files
debugger: handle large quint64 values 'properly'
parent
1c94133b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/debugger/watchhandler.cpp
View file @
02e90fd7
...
@@ -632,7 +632,8 @@ static QString formattedValue(const WatchData &data, int format)
...
@@ -632,7 +632,8 @@ static QString formattedValue(const WatchData &data, int format)
if
(
isIntType
(
data
.
type
))
{
if
(
isIntType
(
data
.
type
))
{
if
(
format
<=
0
)
if
(
format
<=
0
)
return
data
.
value
;
return
data
.
value
;
if
(
data
.
type
.
contains
(
QLatin1String
(
"unsigned"
)))
// Evil hack, covers 'unsigned' as well as quint64.
if
(
data
.
type
.
contains
(
QLatin1Char
(
'u'
)))
return
reformatInteger
(
data
.
value
.
toULongLong
(),
format
);
return
reformatInteger
(
data
.
value
.
toULongLong
(),
format
);
return
reformatInteger
(
data
.
value
.
toLongLong
(),
format
);
return
reformatInteger
(
data
.
value
.
toLongLong
(),
format
);
}
}
...
...
Write
Preview
Markdown
is supported
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