projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added calls to yieldCurrentThread() in XdxtPlugin::search()
[mdictionary]
/
trunk
/
src
/
plugins
/
xdxf
/
src
/
xdxfplugin.cpp
diff --git
a/trunk/src/plugins/xdxf/src/xdxfplugin.cpp
b/trunk/src/plugins/xdxf/src/xdxfplugin.cpp
index
e8c7d77
..
3ed3df5
100644
(file)
--- a/
trunk/src/plugins/xdxf/src/xdxfplugin.cpp
+++ b/
trunk/src/plugins/xdxf/src/xdxfplugin.cpp
@@
-118,6
+118,7
@@
QList<Translation*> XdxfPlugin::searchWordList(QString word, int limit) {
break;
}
}
+ this->thread()->yieldCurrentThread();
}
stopped=false;
dictionaryFile.close();
@@
-160,6
+161,7
@@
QString XdxfPlugin::search(QString key) {
match=false;
}
}
+ this->thread()->yieldCurrentThread();
}
stopped=false;
dictionaryFile.close();