author | cniehaus <cniehaus> | 2003-01-12 16:16:13 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-01-12 16:16:13 (UTC) |
commit | aa4f80fdc2d78bfe1c1d4cb8ec1d852115d00fc7 (patch) (unidiff) | |
tree | d102e440196aea471b3ed8d0357934a1a9f2e385 /noncore/apps/odict/odict.cpp | |
parent | 6e7d82135cdab0190739d2ddf84cd2211d18d00b (diff) | |
download | opie-aa4f80fdc2d78bfe1c1d4cb8ec1d852115d00fc7.zip opie-aa4f80fdc2d78bfe1c1d4cb8ec1d852115d00fc7.tar.gz opie-aa4f80fdc2d78bfe1c1d4cb8ec1d852115d00fc7.tar.bz2 |
Make search for only complete words working. Removing qDebug-lines. Fix a
bug (the seperator has not been loaded).
Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/odict.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 42604ee..78c3f90 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp | |||
@@ -57,6 +57,7 @@ ODict::ODict() : QMainWindow() | |||
57 | browser_bottom = new QTextBrowser( vbox ); | 57 | browser_bottom = new QTextBrowser( vbox ); |
58 | 58 | ||
59 | ding = new DingWidget(); | 59 | ding = new DingWidget(); |
60 | ding->loadValues(); | ||
60 | 61 | ||
61 | loadConfig(); | 62 | loadConfig(); |
62 | setCentralWidget( vbox ); | 63 | setCentralWidget( vbox ); |
@@ -110,19 +111,14 @@ void ODict::slotStartQuery() | |||
110 | //X else | 111 | //X else |
111 | //X { | 112 | //X { |
112 | 113 | ||
113 | if ( casesens ) qDebug( "casesens = TRUE" ); | ||
114 | else qDebug( "casesens = FALSE" ); | ||
115 | |||
116 | ding->setCaseSensitive( casesens ); | 114 | ding->setCaseSensitive( casesens ); |
117 | ding->setCompleteWord( completewords ); | 115 | ding->setCompleteWord( completewords ); |
118 | ding->setDict( activated_name ); | 116 | ding->setDict( activated_name ); |
119 | 117 | ||
120 | if ( activated_name != ding->loadedDict() ) | 118 | if ( activated_name != ding->loadedDict() ) |
121 | { | 119 | { |
122 | qDebug( "ComboBox geändert" ); | ||
123 | ding->loadDict(activated_name); | 120 | ding->loadDict(activated_name); |
124 | } | 121 | } |
125 | else qDebug( "ComboBox war GLEICH" ); | ||
126 | 122 | ||
127 | BroswerContent test = ding->setText( querystring ); | 123 | BroswerContent test = ding->setText( querystring ); |
128 | 124 | ||