Debugger: Make qmlServer url again accessible in DebuggerRunTool

Currently needed by GammaRayIntegration.

Change-Id: I0915e4bf02bd9be3f1fe0342b9b9ce543811a9ca
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-08-20 11:33:05 +02:00
parent 6849690da9
commit 6ab30dcef7
2 changed files with 6 additions and 0 deletions

View File

@@ -414,6 +414,11 @@ void DebuggerRunTool::setDebugInfoLocation(const QString &debugInfoLocation)
m_runParameters.debugInfoLocation = debugInfoLocation; m_runParameters.debugInfoLocation = debugInfoLocation;
} }
QUrl DebuggerRunTool::qmlServer() const
{
return m_runParameters.qmlServer;
}
void DebuggerRunTool::setQmlServer(const QUrl &qmlServer) void DebuggerRunTool::setQmlServer(const QUrl &qmlServer)
{ {
m_runParameters.qmlServer = qmlServer; m_runParameters.qmlServer = qmlServer;

View File

@@ -116,6 +116,7 @@ public:
void setDebugInfoLocation(const QString &debugInfoLocation); void setDebugInfoLocation(const QString &debugInfoLocation);
void setQmlServer(const QUrl &qmlServer); void setQmlServer(const QUrl &qmlServer);
QUrl qmlServer() const; // Used in GammaRay integration.
void setCoreFileName(const QString &core, bool isSnapshot = false); void setCoreFileName(const QString &core, bool isSnapshot = false);