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
Plasma
Plasma Workspace
Commits
66153dec
Commit
66153dec
authored
Jan 11, 2021
by
Harald Sitter
🏳️🌈
Browse files
don't capture unnecssary var
this is not actually used in the lambda
parent
c491af3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
freespacenotifier/module.cpp
View file @
66153dec
...
...
@@ -74,7 +74,7 @@ void FreeSpaceNotifierModule::showConfiguration()
i18nc
(
"The settings dialog main page name, as in 'general settings'"
,
"General"
),
QStringLiteral
(
"system-run"
));
connect
(
dialog
,
&
KConfigDialog
::
finished
,
this
,
[
this
]
{
connect
(
dialog
,
&
KConfigDialog
::
finished
,
this
,
[]
{
if
(
!
FreeSpaceNotifierSettings
::
enableNotification
())
{
// The idea here is to disable ourselves by telling kded to stop autostarting us, and
// to kill the current running instance.
...
...
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