summaryrefslogtreecommitdiffstats
path: root/kcontrol/taskbar/kcmtaskbar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-17 14:38:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-17 14:38:57 -0600
commit2d728f781b55fb1dc63fb10e9f570cdb4902b1cd (patch)
tree2061018f6c617cda3beecb088a723a3e6919e979 /kcontrol/taskbar/kcmtaskbar.cpp
parenta0d0b876b6447c5be26a50a0b295e91cd95a8ceb (diff)
downloadtdebase-2d728f781b55fb1dc63fb10e9f570cdb4902b1cd.tar.gz
tdebase-2d728f781b55fb1dc63fb10e9f570cdb4902b1cd.zip
Fix taskbar config reload global settings button
Diffstat (limited to 'kcontrol/taskbar/kcmtaskbar.cpp')
-rw-r--r--kcontrol/taskbar/kcmtaskbar.cpp4
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();
}