From e52158d2f9e1fdc9766d991dc672729648d5a020 Mon Sep 17 00:00:00 2001 From: sandman Date: Tue, 26 Nov 2002 23:34:04 +0000 Subject: Sharp ROM compatibilty upgrade: All these functions are needed to get qtmail (from the Sharp ROM) running on Opie - I have even tested qtmail on an iPAQ and it seems to work .. --- (limited to 'library/config.cpp') diff --git a/library/config.cpp b/library/config.cpp index 1121cd4..b47c620 100644 --- a/library/config.cpp +++ b/library/config.cpp @@ -102,6 +102,18 @@ Config::Config( const QString &name, Domain domain ) glang = l[1]; } + +// Sharp ROM compatibility +Config::Config ( const QString &name, bool what ) + : filename( configFilename(name,what ? User : File) ) +{ + git = groups.end(); + read(); + QStringList l = Global::languageList(); + lang = l[0]; + glang = l[1]; +} + /*! Writes any changes to disk and destroys the in-memory object. */ -- cgit v0.9.0.2