debugger: remove superflous namespace qualifications

This commit is contained in:
hjk
2010-12-08 17:56:20 +01:00
parent 2e1cad3b6d
commit a0c287136b

View File

@@ -795,19 +795,19 @@ static bool parseArgument(QStringList::const_iterator &it,
} }
// Engine disabling. // Engine disabling.
if (option == _("-disable-cdb")) { if (option == _("-disable-cdb")) {
*enabledEngines &= ~Debugger::CdbEngineType; *enabledEngines &= ~CdbEngineType;
return true; return true;
} }
if (option == _("-disable-gdb")) { if (option == _("-disable-gdb")) {
*enabledEngines &= ~Debugger::GdbEngineType; *enabledEngines &= ~GdbEngineType;
return true; return true;
} }
if (option == _("-disable-qmldb")) { if (option == _("-disable-qmldb")) {
*enabledEngines &= ~Debugger::QmlEngineType; *enabledEngines &= ~QmlEngineType;
return true; return true;
} }
if (option == _("-disable-sdb")) { if (option == _("-disable-sdb")) {
*enabledEngines &= ~Debugger::ScriptEngineType; *enabledEngines &= ~ScriptEngineType;
return true; return true;
} }
if (option == _("-disable-tcf")) { if (option == _("-disable-tcf")) {
@@ -832,7 +832,7 @@ static bool parseArguments(const QStringList &args,
for (QStringList::const_iterator it = args.constBegin(); it != cend; ++it) for (QStringList::const_iterator it = args.constBegin(); it != cend; ++it)
if (!parseArgument(it, cend, attachRemoteParameters, enabledEngines, errorMessage)) if (!parseArgument(it, cend, attachRemoteParameters, enabledEngines, errorMessage))
return false; return false;
if (Debugger::Constants::Internal::debug) if (Constants::Internal::debug)
qDebug().nospace() << args << "engines=0x" qDebug().nospace() << args << "engines=0x"
<< QString::number(*enabledEngines, 16) << QString::number(*enabledEngines, 16)
<< " pid" << attachRemoteParameters->attachPid << " pid" << attachRemoteParameters->attachPid
@@ -2312,7 +2312,7 @@ void DebuggerPluginPrivate::gotoLocation(const QString &file, int line, bool set
if (!editor) if (!editor)
return; return;
if (newEditor) if (newEditor)
editor->setProperty(Debugger::Constants::OPENED_BY_DEBUGGER, true); editor->setProperty(Constants::OPENED_BY_DEBUGGER, true);
if (setMarker) if (setMarker)
m_locationMark.reset(new LocationMark(file, line)); m_locationMark.reset(new LocationMark(file, line));
} }