forked from qt-creator/qt-creator
debugger: merge DebuggerLanguageChooser into DebuggerRunConfigWidget
This also lets runconfigurations like Maemo suppress the QML parts completely. Change-Id: I19573053b565b21be4407f1e0ea024c07ffd4d73 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -201,7 +201,8 @@ bool ProcessHandle::equals(const ProcessHandle &rhs) const
|
||||
DebuggerProjectSettings::DebuggerProjectSettings() :
|
||||
m_useCppDebugger(true),
|
||||
m_useQmlDebugger(AutoEnableQmlDebugger),
|
||||
m_qmlDebugServerPort(Constants::QML_DEFAULT_DEBUG_SERVER_PORT)
|
||||
m_qmlDebugServerPort(Constants::QML_DEFAULT_DEBUG_SERVER_PORT),
|
||||
m_suppressQmlDebuggingOptions(false)
|
||||
{}
|
||||
|
||||
DebuggerProjectSettings::DebuggerProjectSettings(DebuggerProjectSettings *other) :
|
||||
@@ -260,7 +261,12 @@ void DebuggerProjectSettings::setQmlDebugServerPort(uint port)
|
||||
|
||||
void DebuggerProjectSettings::suppressQmlDebuggingOptions()
|
||||
{
|
||||
m_useQmlDebugger = SuppressQmlDebugger;
|
||||
m_suppressQmlDebuggingOptions = true;
|
||||
}
|
||||
|
||||
bool DebuggerProjectSettings::areQmlDebuggingOptionsSuppressed() const
|
||||
{
|
||||
return m_suppressQmlDebuggingOptions;
|
||||
}
|
||||
|
||||
QString DebuggerProjectSettings::displayName() const
|
||||
|
||||
Reference in New Issue
Block a user