From kde-core-devel Thu Jul 08 23:07:05 1999 From: Simon Hausmann Date: Thu, 08 Jul 1999 23:07:05 +0000 To: kde-core-devel Subject: KSimpleConfig - deleteGroup X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93152720215524 Hi, I experience that it is impossible to delete the last group (except "") of a KSimpleConfig file, so that the file would be empty. Example: QStringList groupList = config->groupList(); QStringList::ConstIterator it = groupList.begin(); QStringList::ConstIterator end = groupList.end(); for (; it != end; ++it ) if ( *it != "" ) config->deleteGroup( *it ); This always leaves me with one (last) group in the file. Can anyone verify this? Am I wrong? Greetings, Simon