From 77736831bd44d6ca60ee573133cd72551d312dbc Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 03 Jun 2005 18:31:12 +0000 Subject: Add config option to use smaller font for checkbook transaction tab - patch courtesy of hrw --- (limited to 'noncore/apps/checkbook/cfg.cpp') 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 @@ Cfg::Cfg() { _currencySymbol="$"; + _useSmallFont=TRUE; _showLocks=FALSE; _showBalances=FALSE; _pCategories=new CategoryList(); @@ -77,6 +78,7 @@ void Cfg::readConfig(Config &config) // read scalars _currencySymbol = config.readEntry( "CurrencySymbol", "$" ); + _useSmallFont = config.readBoolEntry( "UseSmallFont", TRUE ); _showLocks = config.readBoolEntry( "ShowLocks", FALSE ); _showBalances = config.readBoolEntry( "ShowBalances", FALSE ); _openLastBook = config.readBoolEntry( "OpenLastBook", FALSE ); @@ -164,6 +166,7 @@ void Cfg::writeConfig(Config &config) // write scalars config.writeEntry( "CurrencySymbol", _currencySymbol ); + config.writeEntry( "UseSmallFont", _useSmallFont ); config.writeEntry( "ShowLocks", _showLocks ); config.writeEntry( "ShowBalances", _showBalances ); config.writeEntry( "OpenLastBook", _openLastBook ); -- cgit v0.9.0.2