Merge branch 'cache'
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfCachingDialog.cpp
index 2b6932f..c3b2cfd 100644 (file)
@@ -35,15 +35,15 @@ XdxfCachingDialog::XdxfCachingDialog(XdxfPlugin *parent) :
     setLayout(verticalLayout);
 
     setWindowTitle(tr("Caching dictionary, please wait"));
-    cachingProgressBar = new QProgressBar;
+    cachingProgressBar = new QProgressBar(this);
     cachingProgressBar->setMinimum(0);
     cachingProgressBar->setMaximum(100);
     cachingProgressBar->setTextVisible(true);
 
-    cancelButton = new QPushButton(tr("Cancel"));
+    cancelButton = new QPushButton(tr("Cancel"),this);
 
 
-    cachingLabel = new QLabel();
+    cachingLabel = new QLabel(this);
     cachingLabel->hide();