diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-17 14:38:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-17 14:38:57 -0600 |
commit | 2d728f781b55fb1dc63fb10e9f570cdb4902b1cd (patch) | |
tree | 2061018f6c617cda3beecb088a723a3e6919e979 | |
parent | a0d0b876b6447c5be26a50a0b295e91cd95a8ceb (diff) | |
download | tdebase-2d728f781b55fb1dc63fb10e9f570cdb4902b1cd.tar.gz tdebase-2d728f781b55fb1dc63fb10e9f570cdb4902b1cd.zip |
Fix taskbar config reload global settings button
-rw-r--r-- | kcontrol/taskbar/kcmtaskbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp index 00e0cd1f3..d21f39df2 100644 --- a/kcontrol/taskbar/kcmtaskbar.cpp +++ b/kcontrol/taskbar/kcmtaskbar.cpp @@ -262,7 +262,9 @@ TaskbarConfig::~TaskbarConfig() void TaskbarConfig::slotReloadConfigurationFromGlobals() { KConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); - globalConfig.copyTo(m_configFileName); + KConfig localConfig(m_configFileName); + globalConfig.copyTo(m_configFileName, &localConfig); + localConfig.sync(); m_settingsObject->readConfig(); load(); } |