Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Beauzée-Luyssen
medialibrary
Commits
d953fe34
Commit
d953fe34
authored
Aug 30, 2021
by
Hugo Beauzée-Luyssen
Browse files
FsHolder: Reindent after last change
parent
30f9259d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/filesystem/FsHolder.cpp
View file @
d953fe34
...
...
@@ -167,22 +167,22 @@ void FsHolder::startFsFactoriesAndRefresh()
return
;
{
std
::
lock_guard
<
compat
::
Mutex
>
lock
(
m_mutex
);
std
::
lock_guard
<
compat
::
Mutex
>
lock
(
m_mutex
);
for
(
const
auto
&
fsFactory
:
m_fsFactories
)
{
/*
* We only want to start the fs factory if it is a local one, or if
* it's a network one and network discovery is enabled
*/
if
(
m_networkDiscoveryEnabled
==
true
||
fsFactory
->
isNetworkFileSystem
()
==
false
)
for
(
const
auto
&
fsFactory
:
m_fsFactories
)
{
fsFactory
->
start
(
this
);
fsFactory
->
refreshDevices
();
/*
* We only want to start the fs factory if it is a local one, or if
* it's a network one and network discovery is enabled
*/
if
(
m_networkDiscoveryEnabled
==
true
||
fsFactory
->
isNetworkFileSystem
()
==
false
)
{
fsFactory
->
start
(
this
);
fsFactory
->
refreshDevices
();
}
}
}
}
std
::
lock_guard
<
compat
::
Mutex
>
lock
{
m_cbMutex
};
auto
devices
=
Device
::
fetchAll
(
m_ml
);
...
...
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