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
a0c28713
Commit
a0c28713
authored
Dec 08, 2010
by
hjk
Browse files
debugger: remove superflous namespace qualifications
parent
2e1cad3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
a0c28713
...
...
@@ -795,19 +795,19 @@ static bool parseArgument(QStringList::const_iterator &it,
}
// Engine disabling.
if
(
option
==
_
(
"-disable-cdb"
))
{
*
enabledEngines
&=
~
Debugger
::
CdbEngineType
;
*
enabledEngines
&=
~
CdbEngineType
;
return
true
;
}
if
(
option
==
_
(
"-disable-gdb"
))
{
*
enabledEngines
&=
~
Debugger
::
GdbEngineType
;
*
enabledEngines
&=
~
GdbEngineType
;
return
true
;
}
if
(
option
==
_
(
"-disable-qmldb"
))
{
*
enabledEngines
&=
~
Debugger
::
QmlEngineType
;
*
enabledEngines
&=
~
QmlEngineType
;
return
true
;
}
if
(
option
==
_
(
"-disable-sdb"
))
{
*
enabledEngines
&=
~
Debugger
::
ScriptEngineType
;
*
enabledEngines
&=
~
ScriptEngineType
;
return
true
;
}
if
(
option
==
_
(
"-disable-tcf"
))
{
...
...
@@ -832,7 +832,7 @@ static bool parseArguments(const QStringList &args,
for
(
QStringList
::
const_iterator
it
=
args
.
constBegin
();
it
!=
cend
;
++
it
)
if
(
!
parseArgument
(
it
,
cend
,
attachRemoteParameters
,
enabledEngines
,
errorMessage
))
return
false
;
if
(
Debugger
::
Constants
::
Internal
::
debug
)
if
(
Constants
::
Internal
::
debug
)
qDebug
().
nospace
()
<<
args
<<
"engines=0x"
<<
QString
::
number
(
*
enabledEngines
,
16
)
<<
" pid"
<<
attachRemoteParameters
->
attachPid
...
...
@@ -2312,7 +2312,7 @@ void DebuggerPluginPrivate::gotoLocation(const QString &file, int line, bool set
if
(
!
editor
)
return
;
if
(
newEditor
)
editor
->
setProperty
(
Debugger
::
Constants
::
OPENED_BY_DEBUGGER
,
true
);
editor
->
setProperty
(
Constants
::
OPENED_BY_DEBUGGER
,
true
);
if
(
setMarker
)
m_locationMark
.
reset
(
new
LocationMark
(
file
,
line
));
}
...
...
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