Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary] / trunk / src / plugins / xdxf / src / XdxfCachingDialog.cpp
index 402fd31..f06f69c 100644 (file)
@@ -28,8 +28,8 @@
 #include <QDebug>
 
 
-XdxfCachingDialog::XdxfCachingDialog(XdxfPlugin *parent) :
-    QDialog((QWidget*)parent)
+XdxfCachingDialog::XdxfCachingDialog(XdxfPlugin *parent) //:
+//    QDialog((QWidget*)parent)
 {
     verticalLayout = new QVBoxLayout(this);
     setLayout(verticalLayout);
@@ -54,9 +54,8 @@ XdxfCachingDialog::XdxfCachingDialog(XdxfPlugin *parent) :
     connect(cancelButton, SIGNAL(clicked()),
             this, SIGNAL(cancelCaching()));
 
-   // connect(parent, SIGNAL(updateCachingProgress(int, int)),
-    //        this, SLOT(updateCachingProgress(int, int)));
-
+   connect(parent, SIGNAL(updateCachingProgress(int, int)),
+           this, SLOT(updateCachingProgress(int, int)));
     time.start();
 }