projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added exception and event handling: gui & plugin
[mdictionary]
/
trunk
/
src
/
plugins
/
xdxf
/
src
/
XdxfCachingDialog.cpp
diff --git
a/trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
b/trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
index
8cb8e45
..
2b6932f
100644
(file)
--- a/
trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
+++ b/
trunk/src/plugins/xdxf/src/XdxfCachingDialog.cpp
@@
-70,6
+70,9
@@
void XdxfCachingDialog::updateCachingProgress(int progress, int time) {
cachingLabel->setText(tr("Estimated time left: ") +
QString::number(seconds) + tr(" seconds"));
+ if(progress >= 100)
+ this->hide();
+
}