connect(parent, SIGNAL(updateCachingProgress(int, int)),
this, SLOT(updateCachingProgress(int, int)));
time.start();
+
+ setModal(true);
+}
+
+
+void XdxfCachingDialog::reject() {
+ return;
}
void XdxfCachingDialog::updateCachingProgress(int progress, int time) {
cachingLabel->setText(tr("Estimated time left: ") +
tr("%n second(s)", "", seconds));
if(progress >= 100)
- this->hide();
+ this->accept();
}