[effects] Clean up saving of DesktopGrid config
Summary: The DesktopNameAlignment was once set through the kcfg generated file and once manually. We don't need the manual double save. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D3340
This commit is contained in:
parent
a8fa1626eb
commit
75ab998de8
1 changed files with 0 additions and 4 deletions
|
@ -104,10 +104,6 @@ void DesktopGridEffectConfig::save()
|
|||
DesktopGridConfig::setDesktopNameAlignment(m_ui->desktopNameAlignmentCombo->itemData(m_ui->desktopNameAlignmentCombo->currentIndex()).toInt());
|
||||
KCModule::save();
|
||||
|
||||
KConfigGroup conf = EffectsHandler::effectConfig(QStringLiteral("DesktopGrid"));
|
||||
conf.writeEntry("DesktopNameAlignment", DesktopGridConfig::desktopNameAlignment());
|
||||
conf.sync();
|
||||
|
||||
OrgKdeKwinEffectsInterface interface(QStringLiteral("org.kde.KWin"),
|
||||
QStringLiteral("/Effects"),
|
||||
QDBusConnection::sessionBus());
|
||||
|
|
Loading…
Reference in a new issue