Commit a191a4a6 authored by David Edmundson's avatar David Edmundson Committed by Aleix Pol Gonzalez
Browse files

[kcms/user] Fix leaking model

parent 8bfeeed4
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment