forked from qt-creator/qt-creator
IDevice: Add a qmlProfilerHost function
This seems to be a better abstraction than the "pseudo dynamic cast" in the QmlProfilerTool and the DebuggerPlugin itself. Change-Id: If7dea70e1353852ebb6d3ce43220c0b03ccb4b00 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -99,5 +99,10 @@ IDevice::Ptr AndroidDevice::clone() const
|
||||
return IDevice::Ptr(new AndroidDevice(*this));
|
||||
}
|
||||
|
||||
QString AndroidDevice::qmlProfilerHost() const
|
||||
{
|
||||
return QLatin1String("localhost");
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Android
|
||||
|
Reference in New Issue
Block a user