Debugger: Replace RunParameter::languagues by individual bools

There was almost 1:1 overlap with DebuggerRunTool::is{Cpp,Qml}Debugging,
use one version only.

Change-Id: I4a8f2b7005d3f2e440cdab3eaf6ac476af894308
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-09-20 16:34:54 +02:00
parent 32b1244b2a
commit 0a226c77b0
5 changed files with 49 additions and 73 deletions

View File

@@ -70,8 +70,8 @@ public:
void startDying() { m_isDying = true; }
bool isDying() const { return m_isDying; }
bool isCppDebugging() const { return m_isCppDebugging; }
bool isQmlDebugging() const { return m_isQmlDebugging; }
bool isCppDebugging() const;
bool isQmlDebugging() const;
int portsUsedByDebugger() const;
void setSolibSearchPath(const QStringList &list);
@@ -140,8 +140,6 @@ private:
QPointer<Internal::DebuggerEngine> m_engine; // Master engine
Internal::DebuggerRunParameters m_runParameters;
bool m_isDying = false;
const bool m_isCppDebugging;
const bool m_isQmlDebugging;
};
class DEBUGGER_EXPORT GdbServerPortsGatherer : public ProjectExplorer::RunWorker