Skip to content
Commit 94e2efd5 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Mount ISO Action] Optimize getDeviceFromBackingFile

Only query for `StorageAccess` as only this device type can be mounted,
saves around 2/3 of needlessly created `Devices`, significantly speeding
up the lookup.

Also use `property()` instead of `allProperties()`, the latter of which
does an explicit `GetAll` DBus query. Effectively, will probably not do
much because it will be the first time the `Device` properties are
queried but it's still slightly convoluted.
parent 5d0a6cb1
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