author | cniehaus <cniehaus> | 2003-01-04 15:18:12 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-01-04 15:18:12 (UTC) |
commit | 059caec066275d75501471a49c5465fe4def59cf (patch) (unidiff) | |
tree | 08466d10e4c796fc12e86367860ca7dfd5f829a1 /noncore/apps/odict/odict.cpp | |
parent | 4a9e13d7b9220b45cbbbdfab5f2ea56ea415d6a7 (diff) | |
download | opie-059caec066275d75501471a49c5465fe4def59cf.zip opie-059caec066275d75501471a49c5465fe4def59cf.tar.gz opie-059caec066275d75501471a49c5465fe4def59cf.tar.bz2 |
ok, now we have no more memleaks (I valgrind'ed and gdb'ed) and some more
feature are working.
Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/odict.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index e0104eb..6f176f9 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp | |||
@@ -100,9 +100,10 @@ void ODict::slotStartQuery() | |||
100 | if (querystring.isEmpty()){ | 100 | if (querystring.isEmpty()){ |
101 | qWarning("empty querystring"); | 101 | qWarning("empty querystring"); |
102 | return; | 102 | return; |
103 | } | 103 | } |
104 | if (!activated_name || activated_name.isEmpty()) | 104 | if (!activated_name || activated_name.isEmpty()) |
105 | QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); | 105 | QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); |
106 | else | 106 | else |
107 | DingWidget *ding = new DingWidget( querystring , browser_top, browser_bottom, activated_name ); | 107 | DingWidget *ding = new DingWidget( querystring , browser_top, browser_bottom, activated_name ); |
108 | ding->setText(); | ||
108 | } | 109 | } |