summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/cfg.cpp
Unidiff
Diffstat (limited to 'noncore/apps/checkbook/cfg.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/cfg.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/checkbook/cfg.cpp b/noncore/apps/checkbook/cfg.cpp
index 24fa4cb..4f70593 100644
--- a/noncore/apps/checkbook/cfg.cpp
+++ b/noncore/apps/checkbook/cfg.cpp
@@ -37,6 +37,7 @@
37Cfg::Cfg() 37Cfg::Cfg()
38{ 38{
39 _currencySymbol="$"; 39 _currencySymbol="$";
40 _useSmallFont=TRUE;
40 _showLocks=FALSE; 41 _showLocks=FALSE;
41 _showBalances=FALSE; 42 _showBalances=FALSE;
42 _pCategories=new CategoryList(); 43 _pCategories=new CategoryList();
@@ -77,6 +78,7 @@ void Cfg::readConfig(Config &config)
77 78
78 // read scalars 79 // read scalars
79 _currencySymbol = config.readEntry( "CurrencySymbol", "$" ); 80 _currencySymbol = config.readEntry( "CurrencySymbol", "$" );
81 _useSmallFont = config.readBoolEntry( "UseSmallFont", TRUE );
80 _showLocks = config.readBoolEntry( "ShowLocks", FALSE ); 82 _showLocks = config.readBoolEntry( "ShowLocks", FALSE );
81 _showBalances = config.readBoolEntry( "ShowBalances", FALSE ); 83 _showBalances = config.readBoolEntry( "ShowBalances", FALSE );
82 _openLastBook = config.readBoolEntry( "OpenLastBook", FALSE ); 84 _openLastBook = config.readBoolEntry( "OpenLastBook", FALSE );
@@ -164,6 +166,7 @@ void Cfg::writeConfig(Config &config)
164 166
165 // write scalars 167 // write scalars
166 config.writeEntry( "CurrencySymbol", _currencySymbol ); 168 config.writeEntry( "CurrencySymbol", _currencySymbol );
169 config.writeEntry( "UseSmallFont", _useSmallFont );
167 config.writeEntry( "ShowLocks", _showLocks ); 170 config.writeEntry( "ShowLocks", _showLocks );
168 config.writeEntry( "ShowBalances", _showBalances ); 171 config.writeEntry( "ShowBalances", _showBalances );
169 config.writeEntry( "OpenLastBook", _openLastBook ); 172 config.writeEntry( "OpenLastBook", _openLastBook );