Changeset View
Changeset View
Standalone View
Standalone View
src/sddmkcm.cpp
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | |||||
77 | { | 77 | { | ||
78 | QVariantMap args; | 78 | QVariantMap args; | ||
79 | 79 | | |||
80 | if (!mThemeConfig->themeConfigPath().isEmpty()) { | 80 | if (!mThemeConfig->themeConfigPath().isEmpty()) { | ||
81 | args[QStringLiteral("theme.conf.user")] = QString(mThemeConfig->themeConfigPath() + QLatin1String(".user")); | 81 | args[QStringLiteral("theme.conf.user")] = QString(mThemeConfig->themeConfigPath() + QLatin1String(".user")); | ||
82 | } | 82 | } | ||
83 | 83 | | |||
84 | qDebug() << "Ovr:" << args[QStringLiteral("theme.conf.user")].toString(); | 84 | qDebug() << "Ovr:" << args[QStringLiteral("theme.conf.user")].toString(); | ||
85 | args.unite(mThemeConfig->save()); | 85 | mThemeConfig->save(args); | ||
86 | args.unite(mAdvancedConfig->save()); | 86 | mAdvancedConfig->save(args); | ||
87 | 87 | | |||
88 | KAuth::Action saveAction = authAction(); | 88 | KAuth::Action saveAction = authAction(); | ||
89 | 89 | | |||
90 | saveAction.setHelperId(QStringLiteral("org.kde.kcontrol.kcmsddm")); | 90 | saveAction.setHelperId(QStringLiteral("org.kde.kcontrol.kcmsddm")); | ||
91 | saveAction.setArguments(args); | 91 | saveAction.setArguments(args); | ||
92 | 92 | | |||
93 | auto job = saveAction.execute(); | 93 | auto job = saveAction.execute(); | ||
94 | job->exec(); | 94 | job->exec(); | ||
Show All 30 Lines |