From 2055cb9e96b27f95720240a2035ade27cb7bc098 Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 20 Jun 2004 13:36:16 +0000 Subject: another fix for not showing previously deleted entries --- diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 4c99964..497de36 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp @@ -82,7 +82,9 @@ void ODict::loadConfig() QString name; cfg.setGroup( *it ); name = cfg.readEntry( "Name" ); - query_co->insertItem( name ); + if ( name != QString::null ) { + query_co->insertItem( name ); + } /* * this check is to look up what dictionary has been used the -- cgit v0.9.0.2