diff --git a/src/solid-test.cpp b/src/solid-test.cpp index 78e177f..c66123e 100644 --- a/src/solid-test.cpp +++ b/src/solid-test.cpp @@ -5,8 +5,8 @@ #include "solid-test.h" void SolidTest::listDevices() { - const auto devices = Solid::Device::listFromType(Solid::DeviceInterface::Unknown, QString()); - for(const Solid::Device &device : devices) { +// const auto devices = Solid::Device::listFromType(Solid::DeviceInterface::Unknown, QString()); + for(const Solid::Device &device : Solid::Device::allDevices()) { // print the name of device qInfo() << device.udi(); }