some change
[mdictionary] / src / plugins / xdxf / XdxfDictDownloadProgressDialog.cpp
index 5bf2ca7..3c43c93 100644 (file)
@@ -29,7 +29,6 @@
 
 XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
     QDialog(parent) {
-qDebug()<<"etap 01";
 #ifndef Q_WS_MAEMO_5
     view= new QDeclarativeView();
     view->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/XdxfDictDownloader.qml"));
@@ -52,7 +51,7 @@ qDebug()<<"etap 01";
            rootObject, SLOT(setMaximumValue(QVariant)));
 
     connect(rootObject, SIGNAL(cancelDownloading()),
-           this, SLOT(reject()));
+           this, SIGNAL(cancelDownloading()));
 
 #else
     verticalLayout = new QVBoxLayout(this);
@@ -85,7 +84,6 @@ qDebug()<<"etap 01";
 
 
 void XdxfDictDownloadProgressDialog::show() {
-qDebug()<<"etap 02";
 #ifndef Q_WS_MAEMO_5
     emit setMaximumValue(0);
     maximumValue=0;
@@ -98,8 +96,6 @@ qDebug()<<"etap 02";
 
 
 void XdxfDictDownloadProgressDialog::setText(QString text) {
-qDebug()<<"etap 03";
-
 #ifndef Q_WS_MAEMO_5
     emit setTextt(text);
 #else
@@ -109,7 +105,6 @@ qDebug()<<"etap 03";
 
 
 void XdxfDictDownloadProgressDialog::updateProgress(float progress) {
-qDebug()<<"etap 04";
 #ifndef Q_WS_MAEMO_5
     if(maximumValue == 0) {
         emit setMaximumValue(100);
@@ -125,7 +120,6 @@ qDebug()<<"etap 04";
 
 
 void XdxfDictDownloadProgressDialog::reject() {
-qDebug()<<"etap 05";
     #ifndef Q_WS_MAEMO_5
         Q_EMIT cancelDownloading();
     #else