author | zautrix <zautrix> | 2004-09-17 13:25:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-17 13:25:15 (UTC) |
commit | 603ad0a623dc72b8ccb9535f9907e0f2aa536328 (patch) (side-by-side diff) | |
tree | c6a33f468891b65b184d4b0d10971dc0eb40aa13 /kmicromail/libmailwrapper | |
parent | 053b3550aa2b987d7aeaf74cc458754d7e80a67b (diff) | |
download | kdepimpi-603ad0a623dc72b8ccb9535f9907e0f2aa536328.zip kdepimpi-603ad0a623dc72b8ccb9535f9907e0f2aa536328.tar.gz kdepimpi-603ad0a623dc72b8ccb9535f9907e0f2aa536328.tar.bz2 |
Fixed time settings bug
-rw-r--r-- | kmicromail/libmailwrapper/genericwrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/libmailwrapper/genericwrapper.cpp b/kmicromail/libmailwrapper/genericwrapper.cpp index d99c6a3..09a6447 100644 --- a/kmicromail/libmailwrapper/genericwrapper.cpp +++ b/kmicromail/libmailwrapper/genericwrapper.cpp @@ -35,7 +35,7 @@ const QDateTime Genericwrapper::parseDateTime( mailimf_date_time *date ) kon.setGroup("Locale"); KGlobal::locale()->setIntDateFormat( (KLocale::IntDateFormat)kon.readNumEntry( "PreferredDate",0) ); QString dummy = kon.readEntry( "UserDateFormatShort","%aK %d.%m.%y" );// kon.readEntry( ""); - KGlobal::locale()->setHore24Format( !kon.readBoolEntry( "PreferredTime",0 ) ); + KGlobal::locale()->setHore24Format( !kon.readNumEntry( "PreferredTime",0 ) ); KGlobal::locale()->setDateFormatShort(dummy.replace( QRegExp("K"), QString(",") )); dummy = kon.readEntry( "UserDateFormatLong","%A %d %b %y" ); KGlobal::locale()->setDateFormat(dummy.replace( QRegExp("K"), QString(",") )); |