summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2003-05-10 20:58:31 (UTC)
committer cniehaus <cniehaus>2003-05-10 20:58:31 (UTC)
commitcd5ea84b4061c1d3b8401252fd2c36efade02c95 (patch) (unidiff)
treec97d2f5ed8a1fed0c2aec3aafdf621e996719663
parent1bff948326aa752c3f4aceac4083717f8c2066e8 (diff)
downloadopie-cd5ea84b4061c1d3b8401252fd2c36efade02c95.zip
opie-cd5ea84b4061c1d3b8401252fd2c36efade02c95.tar.gz
opie-cd5ea84b4061c1d3b8401252fd2c36efade02c95.tar.bz2
fix a stupid bug
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/odict/dingwidget.cpp7
-rw-r--r--noncore/apps/odict/dingwidget.h3
-rw-r--r--noncore/apps/odict/odict.cpp6
3 files changed, 7 insertions, 9 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp
index 55a716d..c804385 100644
--- a/noncore/apps/odict/dingwidget.cpp
+++ b/noncore/apps/odict/dingwidget.cpp
@@ -36,3 +36,2 @@ void DingWidget::loadDict( QString name )
36 //remove the old one 36 //remove the old one
37 qDebug( "DingWidget::loadDict( ... )" );
38 37
@@ -51,2 +50,5 @@ void DingWidget::loadDict( QString name )
51 } 50 }
51
52 setDict( name );
53
52 loadValues(); 54 loadValues();
@@ -81,2 +83,3 @@ void DingWidget::loadValues()
81 trenner = cfg.readEntry( "Seperator" ); 83 trenner = cfg.readEntry( "Seperator" );
84
82 lang1_name = cfg.readEntry( "Lang1" ); 85 lang1_name = cfg.readEntry( "Lang1" );
@@ -118,3 +121,3 @@ BroswerContent DingWidget::parseInfo()
118 } 121 }
119 else 122 else if( right.contains( queryword , isCaseSensitive ) )
120 { 123 {
diff --git a/noncore/apps/odict/dingwidget.h b/noncore/apps/odict/dingwidget.h
index dbb55e2..9163a43 100644
--- a/noncore/apps/odict/dingwidget.h
+++ b/noncore/apps/odict/dingwidget.h
@@ -26,3 +26,2 @@ class DingWidget
26 void setCaseSensitive( bool ); 26 void setCaseSensitive( bool );
27 void setCompleteWord( bool );
28 void loadDict( QString ); 27 void loadDict( QString );
@@ -37,2 +36,3 @@ class DingWidget
37 bool isCaseSensitive; 36 bool isCaseSensitive;
37
38 private: 38 private:
@@ -41,3 +41,2 @@ class DingWidget
41 BroswerContent s_strings; 41 BroswerContent s_strings;
42 bool isCompleteWord;
43 42
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp
index c1de6ac..2028701 100644
--- a/noncore/apps/odict/odict.cpp
+++ b/noncore/apps/odict/odict.cpp
@@ -63,3 +63,2 @@ ODict::ODict() : QMainWindow()
63 ding = new DingWidget(); 63 ding = new DingWidget();
64 ding->loadValues();
65 64
@@ -110,2 +109,3 @@ void ODict::loadConfig()
110 ding->loadDict( lastname ); 109 ding->loadDict( lastname );
110 ding->loadValues();
111 111
@@ -201,6 +201,2 @@ void ODict::slotMethodChanged( const QString& methodnumber )
201 201
202 qDebug( "activated_name in slotMethodChanged() ist:" );
203 qDebug( activated_name );
204 qDebug( ding->loadedDict() );
205
206 if ( activated_name != ding->loadedDict() ) 202 if ( activated_name != ding->loadedDict() )