summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/cfg.cpp
Unidiff
Diffstat (limited to 'noncore/apps/checkbook/cfg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/cfg.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/cfg.cpp b/noncore/apps/checkbook/cfg.cpp
index 1e0ec5c..0d5d9ed 100644
--- a/noncore/apps/checkbook/cfg.cpp
+++ b/noncore/apps/checkbook/cfg.cpp
@@ -45,2 +45,3 @@ Cfg::Cfg()
45 _pCategories=new CategoryList(); 45 _pCategories=new CategoryList();
46 _bDirty=false;
46} 47}
@@ -54,4 +55,2 @@ void Cfg::readStringList(Config &cfg, const char *sKey, QStringList &lst)
54{ 55{
55qDebug( "%s", sKey );
56
57 QString sEntry; 56 QString sEntry;
@@ -88,2 +87,3 @@ void Cfg::readConfig(Config &config)
88 _showLastTab = config.readBoolEntry( "ShowLastTab", FALSE ); 87 _showLastTab = config.readBoolEntry( "ShowLastTab", FALSE );
88 _bSavePayees = config.readBoolEntry( "SavePayees", FALSE );
89 89
@@ -102,2 +102,5 @@ void Cfg::readConfig(Config &config)
102 102
103 // Payees
104 readStringList(config, "Payee", _Payees);
105
103 // Read Categories 106 // Read Categories
@@ -133,2 +136,5 @@ void Cfg::readConfig(Config &config)
133 } 136 }
137
138 // not dirty
139 _bDirty=false;
134} 140}
@@ -168,2 +174,3 @@ void Cfg::writeConfig(Config &config)
168 config.writeEntry( "ShowLastTab", _showLastTab ); 174 config.writeEntry( "ShowLastTab", _showLastTab );
175 config.writeEntry( "SavePayees", _bSavePayees );
169 176
@@ -172,2 +179,5 @@ void Cfg::writeConfig(Config &config)
172 179
180 // write payees
181 writeStringList(config, "Payee", _Payees);
182
173 // write categories 183 // write categories
@@ -178,2 +188,3 @@ void Cfg::writeConfig(Config &config)
178 config.write(); 188 config.write();
189 _bDirty=false;
179} 190}