Commit c172a128 authored by hjk's avatar hjk Committed by Eike Ziller
Browse files

Core: Remove Core::Id(QString) usage from DeviceManager test



Change-Id: Id3e191d471d4ff0137beff257d1cb2b3694c793f
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 6fce81a9
...@@ -425,7 +425,7 @@ class TestDevice : public IDevice ...@@ -425,7 +425,7 @@ class TestDevice : public IDevice
{ {
public: public:
TestDevice() TestDevice()
: IDevice(testTypeId(), AutoDetected, Hardware, Core::Id(QUuid::createUuid().toString())) {} : IDevice(testTypeId(), AutoDetected, Hardware, Core::Id::fromString(QUuid::createUuid().toString())) {}
static Core::Id testTypeId() { return Core::Id("TestType"); } static Core::Id testTypeId() { return Core::Id("TestType"); }
private: private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment