1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 01:33:50 +03:00

sync configuration to files after save configs

This commit is contained in:
Michail Vourlakos 2021-01-10 12:43:19 +02:00
parent f1ed353fb9
commit 09294b8599
3 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,7 @@ AbstractLayout::AbstractLayout(QObject *parent, QString layoutFile, QString assi
}
AbstractLayout::~AbstractLayout()
{
{
}
void AbstractLayout::init()
@ -391,6 +391,7 @@ void AbstractLayout::saveConfig()
m_layoutGroup.writeEntry("icon", m_icon);
m_layoutGroup.writeEntry("lastUsedActivity", m_lastUsedActivity);
m_layoutGroup.writeEntry("preferredForShortcutsTouched", m_preferredForShortcutsTouched);
m_layoutGroup.sync();
}
}

View File

@ -173,6 +173,7 @@ void CentralLayout::saveConfig()
m_layoutGroup.writeEntry("showInMenu", m_showInMenu);
m_layoutGroup.writeEntry("disableBordersForMaximizedWindows", m_disableBordersForMaximizedWindows);
m_layoutGroup.writeEntry("activities", m_activities);
m_layoutGroup.sync();
}
//! OVERRIDES

View File

@ -544,6 +544,7 @@ void UniversalSettings::saveConfig()
m_universalGroup.writeEntry("singleModeLayoutName", m_singleModeLayoutName);
m_universalGroup.writeEntry("memoryUsage", (int)m_memoryUsage);
m_universalGroup.writeEntry("mouseSensitivity", (int)m_sensitivity);
syncSettings();
}
void UniversalSettings::cleanupSettings()