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:
parent
f1ed353fb9
commit
09294b8599
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user