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
a191a4a6
Commit
a191a4a6
authored
Oct 12, 2020
by
David Edmundson
Committed by
Aleix Pol Gonzalez
Oct 12, 2020
Browse files
[kcms/user] Fix leaking model
parent
8bfeeed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/users/src/kcm.cpp
View file @
a191a4a6
...
...
@@ -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
);
...
...
David Edmundson
@davidedmundson
mentioned in commit
081a3001
·
Oct 12, 2020
mentioned in commit
081a3001
mentioned in commit 081a30017ab3706ff2d7dfcfbe0086ac38c255a9
Toggle commit list
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