Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
2b842c89
Commit
2b842c89
authored
May 10, 2020
by
Jan
Browse files
Removed obsolete List creation
parent
e8cc5e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/PluginLoader.cc
View file @
2b842c89
...
...
@@ -316,8 +316,8 @@ void Core::loadPlugins()
* Remove static plugins from dynamically loaded list.
*/
{
QS
et
<
QString
>
staticPlugins
=
QSet
<
QString
>
::
from
List
(
QString
::
fromUtf8
(
cmake
::
static
_p
lugins
).
split
(
"
\n
"
));
QS
tringList
list
=
QString
::
from
Utf8
(
cmake
::
static_plugins
).
split
(
"
\n
"
);
QSet
<
QString
>
static
P
lugins
=
QSet
<
QString
>
(
list
.
begin
(),
list
.
end
(
));
for
(
int
i
=
0
;
i
<
pluginlist
.
size
();
)
{
const
QString
bn
=
QFileInfo
(
pluginlist
[
i
]).
fileName
();
if
(
staticPlugins
.
contains
(
bn
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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