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
Tobias Hunger
qt-creator
Commits
d8ad6aa2
Commit
d8ad6aa2
authored
Jun 29, 2010
by
hjk
Browse files
debugger: make changes to default settings stand out in the log
parent
5adefac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggeractions.cpp
View file @
d8ad6aa2
...
...
@@ -155,9 +155,14 @@ QString DebuggerSettings::dump() const
ts
<<
"Debugger settings: "
;
foreach
(
SavedAction
*
item
,
m_items
)
{
QString
key
=
item
->
settingsKey
();
if
(
!
key
.
isEmpty
())
ts
<<
'\n'
<<
key
<<
": "
<<
item
->
value
().
toString
()
<<
" (default: "
<<
item
->
defaultValue
().
toString
()
<<
")"
;
if
(
!
key
.
isEmpty
())
{
const
QString
current
=
item
->
value
().
toString
();
const
QString
default_
=
item
->
defaultValue
().
toString
();
ts
<<
'\n'
<<
key
<<
": "
<<
current
<<
" (default: "
<<
default_
<<
")"
;
if
(
current
!=
default_
)
ts
<<
" ***"
;
}
}
return
out
;
}
...
...
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