-rw-r--r-- | noncore/apps/odict/odict.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index e2d1d7b..1fbdb85 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp | |||
@@ -94,19 +94,19 @@ void ODict::slotDisplayAbout() | |||
94 | 94 | ||
95 | void ODict::slotStartQuery() | 95 | void ODict::slotStartQuery() |
96 | { | 96 | { |
97 | QString querystring = query_le->text(); | 97 | QString querystring = query_le->text(); |
98 | qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); | 98 | qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); |
99 | if (querystring.isEmpty()){ | 99 | if (querystring.isEmpty()){ |
100 | qWarning("emphty querysting"); | 100 | qWarning("empty querysting"); |
101 | return; | 101 | return; |
102 | } | 102 | } |
103 | if (!activated_name || activated_name.isEmpty()) | 103 | if (!activated_name || activated_name.isEmpty()) |
104 | QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); | 104 | QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); |
105 | else | 105 | else |
106 | DingWidget *ding = new DingWidget( vbox , querystring , browser_top, browser_bottom, activated_name); | 106 | DingWidget *ding = new DingWidget( querystring , browser_top, browser_bottom, activated_name ); |
107 | } | 107 | } |
108 | 108 | ||
109 | 109 | ||
110 | void ODict::slotSetErrorcount( int count ) | 110 | void ODict::slotSetErrorcount( int count ) |
111 | { | 111 | { |
112 | errorTol = count; | 112 | errorTol = count; |