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
Plasma
SDDM KCM
Commits
faef7d3c
Commit
faef7d3c
authored
Jan 26, 2021
by
David Redondo
🏎
Committed by
Nate Graham
Jan 26, 2021
Browse files
Indicate that we need saving when background changes
BUG:432112
FIXED-IN:5.21 (cherry picked from commit
c364382b
)
parent
1229e086
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sddmkcm.cpp
View file @
faef7d3c
...
...
@@ -62,6 +62,10 @@ SddmKcm::SddmKcm(QObject *parent, const QVariantList &args)
m_themesModel
->
setCurrentTheme
(
m_data
->
sddmSettings
()
->
current
());
});
m_themesModel
->
setCurrentTheme
(
m_data
->
sddmSettings
()
->
current
());
// Currently only emmited when background changes
connect
(
m_themesModel
,
&
QAbstractItemModel
::
dataChanged
,
this
,
[
this
]
{
this
->
setNeedsSave
(
true
);
});
}
SddmKcm
::~
SddmKcm
()
...
...
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