-rw-r--r-- | pwmanager/pwmanager/pwmprefs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwmprefs.cpp b/pwmanager/pwmanager/pwmprefs.cpp index 68d5b68..31fb2e0 100644 --- a/pwmanager/pwmanager/pwmprefs.cpp +++ b/pwmanager/pwmanager/pwmprefs.cpp @@ -24,12 +24,13 @@ */ #include <kconfig.h> #include <klocale.h> #include <kstaticdeleter.h> +#include <kglobalsettings.h> #include "pwmprefs.h" PWMPrefs *PWMPrefs::sInstance = 0; static KStaticDeleter<PWMPrefs> staticDeleterPP; @@ -38,13 +39,13 @@ PWMPrefs::PWMPrefs() { KPrefs::setCurrentGroup( "Global" ); addItemString( "autoStart", &mAutoStart, "" ); addItemString( "browserCommand", &mBrowserCommand, "" ); addItemString( "xtermCommand", &mXTermCommand, CONF_DEFAULT_XTERMCOMMAND); - addItemFont( "entryFont", &mEntryFont); + addItemFont( "entryFont", &mEntryFont,KGlobalSettings::generalFont()); addItemInt( "pwTimeout", &mPwTimeout, CONF_DEFAULT_PWTIMEOUT ); addItemInt( "lockTimeout", &mLockTimeout, CONF_DEFAULT_LOCKTIMEOUT ); addItemInt( "compression", &mCompression, CONF_DEFAULT_COMPRESSION ); addItemInt("cryptAlgo", &mCryptAlgo, CONF_DEFAULT_CRYPTALGO); addItemInt("hashAlgo", &mHashAlgo, CONF_DEFAULT_HASHALGO); addItemInt( "filePermissions", &mFilePermissions, CONF_DEFAULT_FILEPERMISSIONS ); |