Skip to content
GitLab
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
522006fc
Commit
522006fc
authored
Apr 30, 2009
by
Oswald Buddenhagen
Browse files
remove unused findChild overload with default arg
parent
9937ef8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbmi.cpp
View file @
522006fc
...
...
@@ -277,18 +277,6 @@ GdbMi GdbMi::findChild(const QByteArray &name) const
return
GdbMi
();
}
GdbMi
GdbMi
::
findChild
(
const
QByteArray
&
name
,
const
QByteArray
&
defaultData
)
const
{
for
(
int
i
=
0
;
i
<
m_children
.
size
();
++
i
)
if
(
m_children
.
at
(
i
).
m_name
==
name
)
return
m_children
.
at
(
i
);
GdbMi
result
;
result
.
m_data
=
defaultData
;
return
result
;
}
//////////////////////////////////////////////////////////////////////////////////
//
// GdbResultRecord
...
...
src/plugins/debugger/gdbmi.h
View file @
522006fc
...
...
@@ -122,7 +122,6 @@ public:
const
GdbMi
&
childAt
(
int
index
)
const
{
return
m_children
[
index
];
}
GdbMi
&
childAt
(
int
index
)
{
return
m_children
[
index
];
}
GdbMi
findChild
(
const
QByteArray
&
name
)
const
;
GdbMi
findChild
(
const
QByteArray
&
name
,
const
QByteArray
&
defaultString
)
const
;
QByteArray
toString
(
bool
multiline
=
false
,
int
indent
=
0
)
const
;
void
fromString
(
const
QByteArray
&
str
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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