Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Dolphin Plugins
Commits
f2253180
Commit
f2253180
authored
Nov 10, 2021
by
Elvis Angelaccio
Browse files
Fix clazy range-loop-detach warning
parent
49e5335c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mountiso/mountisoaction.cpp
View file @
f2253180
...
...
@@ -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
>
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment