author | cniehaus <cniehaus> | 2003-01-04 12:57:25 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-01-04 12:57:25 (UTC) |
commit | 69f08fb67ec7e92c4b3c573d6a1ce374aaa97cee (patch) (unidiff) | |
tree | dba2a9fd1bcb38841227bda4b29fa625fc02169e /noncore/apps/odict/odict.cpp | |
parent | 969924a9d896b70141758b734d898b4423dac357 (diff) | |
download | opie-69f08fb67ec7e92c4b3c573d6a1ce374aaa97cee.zip opie-69f08fb67ec7e92c4b3c573d6a1ce374aaa97cee.tar.gz opie-69f08fb67ec7e92c4b3c573d6a1ce374aaa97cee.tar.bz2 |
- qWarning("emphty querysting");
+ qWarning("empty querysting");
- DingWidget *ding = new DingWidget( vbox , querystring , browser_top, browser_bottom, activated_name);
+ DingWidget *ding = new DingWidget( querystring , browser_top, browser_bottom, activated_name );
That with some more changes even works
-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; |