summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/odict.cpp4
1 files changed, 3 insertions, 1 deletions
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
@@ -83,5 +83,7 @@ void ODict::loadConfig()
cfg.setGroup( *it );
name = cfg.readEntry( "Name" );
- query_co->insertItem( name );
+ if ( name != QString::null ) {
+ query_co->insertItem( name );
+ }
/*