summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
@@ -84,3 +84,5 @@ void ODict::loadConfig()
name = cfg.readEntry( "Name" );
- query_co->insertItem( name );
+ if ( name != QString::null ) {
+ query_co->insertItem( name );
+ }