Added exception and event handling: gui & plugin
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfCachingDialog.cpp
index 8cb8e45..2b6932f 100644 (file)
@@ -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();
+        
 
 }