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
Utilities
KDebugSettings
Commits
1e0e9e01
Commit
1e0e9e01
authored
May 10, 2021
by
Laurent Montel
😁
Browse files
Fix clazy warning
parent
def8f52c
Pipeline
#61386
passed with stage
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/loadgroupmenu.cpp
View file @
1e0e9e01
...
...
@@ -51,7 +51,7 @@ void LoadGroupMenu::init()
for
(
const
QString
&
dirName
:
groupPath
)
{
QDir
dir
(
dirName
);
mGroupNames
=
dir
.
entryList
(
QDir
::
Files
|
QDir
::
NoDotAndDotDot
);
for
(
const
QString
&
file
:
mGroupNames
)
{
for
(
const
QString
&
file
:
qAsConst
(
mGroupNames
)
)
{
QAction
*
act
=
addAction
(
file
);
const
QString
fullPath
=
dirName
+
QLatin1Char
(
'/'
)
+
file
;
connect
(
act
,
&
QAction
::
triggered
,
this
,
[
this
,
fullPath
]
{
...
...
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