Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Workspace
Commits
66153dec
Commit
66153dec
authored
Jan 11, 2021
by
Harald Sitter
💣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't capture unnecssary var
this is not actually used in the lambda
parent
c491af3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
freespacenotifier/module.cpp
freespacenotifier/module.cpp
+1
-1
No files found.
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
Markdown
is supported
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