aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddevice.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2013-10-11 12:58:24 +0200
committerhjk <[email protected]>2013-10-11 13:40:53 +0200
commita527fbe91cc4c82477a845be020417a86b5972a7 (patch)
tree53907a80926e59b16b4e57221e60cbc3b7bf0cc2 /src/plugins/android/androiddevice.cpp
parent8f28a37d717aaedecd9a46c38dddeee1adbd3b1b (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/android/androiddevice.cpp')
-rw-r--r--src/plugins/android/androiddevice.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp
index 8fd3d94e2d3..a1b75218970 100644
--- a/src/plugins/android/androiddevice.cpp
+++ b/src/plugins/android/androiddevice.cpp
@@ -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