fixed the second use of the configuration file
authormishas <mikhail.sobolev@gmail.com>
Fri, 7 Sep 2007 15:04:35 +0000 (15:04 +0000)
committermishas <mikhail.sobolev@gmail.com>
Fri, 7 Sep 2007 15:04:35 +0000 (15:04 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@217 3ba93dab-e023-0410-b42a-de7732cf370a

simple-launcher.cc

index e28345d..1b35150 100644 (file)
@@ -216,7 +216,7 @@ void SimpleLauncherApplet::loadConfig() {
 
 void SimpleLauncherApplet::saveConfig() {
   // TODO: make saving config an atomic operation
-  std::ofstream config(configFileName);
+  std::ofstream config(getConfigFileName());
 
   if (config) {
     for (size_t i = 0 ; i < myItems.size() ; ++i) {