forked from qt-creator/qt-creator
RemoteLinux: Move portsUsedByDebugger() to DebuggerRunConfigurationAspect
Change-Id: I0add29c3c69c4ba59cea159f32ca74be58bcee59 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -292,6 +292,16 @@ bool DebuggerRunConfigurationAspect::isQmlDebuggingSpinboxSuppressed() const
|
||||
return dev->canAutoDetectPorts();
|
||||
}
|
||||
|
||||
int DebuggerRunConfigurationAspect::portsUsedByDebugger() const
|
||||
{
|
||||
int ports = 0;
|
||||
if (useQmlDebugger())
|
||||
++ports;
|
||||
if (useCppDebugger())
|
||||
++ports;
|
||||
return ports;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::toMap(QVariantMap &map) const
|
||||
{
|
||||
map.insert(QLatin1String(USE_CPP_DEBUGGER_KEY), d.useCppDebugger == EnabledLanguage);
|
||||
|
||||
Reference in New Issue
Block a user