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 Desktop
Commits
081a3001
Commit
081a3001
authored
Oct 12, 2020
by
David Edmundson
Committed by
Nate Graham
Oct 12, 2020
Browse files
[kcms/user] Fix leaking model
(cherry picked from commit
a191a4a6
)
parent
51e5322e
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/users/src/kcm.cpp
View file @
081a3001
...
...
@@ -46,7 +46,7 @@ K_PLUGIN_FACTORY_WITH_JSON(KCMUserFactory, "kcm_users.json", registerPlugin<KCMU
KCMUser
::
KCMUser
(
QObject
*
parent
,
const
QVariantList
&
args
)
:
KQuickAddons
::
ConfigModule
(
parent
,
args
),
m_dbusInterface
(
new
OrgFreedesktopAccountsInterface
(
QStringLiteral
(
"org.freedesktop.Accounts"
),
QStringLiteral
(
"/org/freedesktop/Accounts"
),
QDBusConnection
::
systemBus
(),
this
)),
m_model
(
new
UserModel
())
m_model
(
new
UserModel
(
this
))
{
KAboutData
*
about
=
new
KAboutData
(
QStringLiteral
(
"kcm_users"
),
i18n
(
"Manage user accounts"
),
QStringLiteral
(
"0.1"
),
QString
(),
KAboutLicense
::
GPL
);
...
...
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