some change
authorjakub <jakub.jaszczynski@comarch.com>
Mon, 28 Feb 2011 10:31:00 +0000 (11:31 +0100)
committerjakub <jakub.jaszczynski@comarch.com>
Mon, 28 Feb 2011 10:31:00 +0000 (11:31 +0100)
src/plugins/xdxf/XdxfDictDownloadProgressDialog.cpp
src/plugins/xdxf/XdxfDictDownloader.cpp

index e37032c..3c43c93 100644 (file)
@@ -51,7 +51,7 @@ XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
            rootObject, SLOT(setMaximumValue(QVariant)));
 
     connect(rootObject, SIGNAL(cancelDownloading()),
-           this, SLOT(reject()));
+           this, SIGNAL(cancelDownloading()));
 
 #else
     verticalLayout = new QVBoxLayout(this);
@@ -105,7 +105,6 @@ void XdxfDictDownloadProgressDialog::setText(QString text) {
 
 
 void XdxfDictDownloadProgressDialog::updateProgress(float progress) {
-qDebug()<<"etap 04";
 #ifndef Q_WS_MAEMO_5
     if(maximumValue == 0) {
         emit setMaximumValue(100);
index 9995e9c..96415d9 100644 (file)
@@ -99,7 +99,7 @@ void XdxfDictDownloader::breakDownloading() {
     //if user cancel downloading we kill all running processes, hide progress dialog and set flag that user cancel downloading.
     aborted = true;
     http.kill();
-
+    qDebug()<<"end download";
     if(progressDialog && progressDialog->isVisible()) {
         progressDialog->accept();
     }