Commit f2253180 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix clazy range-loop-detach warning

parent 49e5335c
......@@ -151,7 +151,7 @@ void mount(const QString &file)
auto storageVolume = device.as<Solid::StorageVolume>();
const QString uuid = storageVolume->uuid();
QList<Solid::Device> devices = Solid::Device::listFromQuery(
const QList<Solid::Device> devices = Solid::Device::listFromQuery(
QStringLiteral("[ StorageVolume.uuid == '%1' AND IS StorageAccess ]").arg(uuid));
for (auto dev : devices) {
auto storageAccess = dev.as<Solid::StorageAccess>();
......
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