summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/dingwidget.cpp
Unidiff
Diffstat (limited to 'noncore/apps/odict/dingwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/odict/dingwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp
index 5c4b13b..abb5e75 100644
--- a/noncore/apps/odict/dingwidget.cpp
+++ b/noncore/apps/odict/dingwidget.cpp
@@ -30,3 +30,3 @@
30#include <qtextbrowser.h> 30#include <qtextbrowser.h>
31#include <stdlib.h> // for getenv 31//#include <stdlib.h> // for getenv
32 32
@@ -42,5 +42,4 @@ void DingWidget::loadDict( QString name )
42 dictName = name; 42 dictName = name;
43 QString opie_dir = getenv("OPIEDIR");
44
45 Config cfg( "odict" ); 43 Config cfg( "odict" );
44 if ( !methodname ) return;
46 cfg.setGroup( "Method_" + methodname ); 45 cfg.setGroup( "Method_" + methodname );
@@ -88,2 +87,3 @@ void DingWidget::loadValues()
88{ 87{
88 if ( !methodname ) return;
89 Config cfg( "odict" ); 89 Config cfg( "odict" );