X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fplugins%2Fxdxf%2FXdxfDictDownloader.cpp;h=57227b1ddd6c2a095f45b2ee4ebd510b86140fe1;hb=0920a54ebc21e26ea44fab232832f45b7882da19;hp=f212d71eec06dfc4fce6465f3edbafe03aad2fef;hpb=594dc3110de542108054f0c3f9066b5ceefd8592;p=mdictionary diff --git a/src/plugins/xdxf/XdxfDictDownloader.cpp b/src/plugins/xdxf/XdxfDictDownloader.cpp index f212d71..57227b1 100644 --- a/src/plugins/xdxf/XdxfDictDownloader.cpp +++ b/src/plugins/xdxf/XdxfDictDownloader.cpp @@ -20,6 +20,9 @@ *******************************************************************************/ /*! \file XdxfDictDownloader.cpp + \brief XdxfDictDownloader is responsible for getting dict list from XDXF website + and other actions necessary to download and add dictionary + \author Mateusz Półrola */ @@ -68,7 +71,6 @@ void XdxfDictDownloader::download(QWidget *parent) { this, SLOT(breakDownloading())); connect(this, SIGNAL(downloadProgress(float)), progressDialog, SLOT(updateProgress(float))); - progressDialog->setText(tr("Downloading dictionaries list")); progressDialog->show(); } @@ -95,7 +97,6 @@ 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(); - if(progressDialog && progressDialog->isVisible()) { progressDialog->accept(); } @@ -172,7 +173,6 @@ void XdxfDictDownloader::dictListReceived(QNetworkReply *reply) { XdxfDictSelectDialog selectDialog(dicts, parentDialog); if(selectDialog.exec()==QDialog::Accepted) { - progressDialog->setText(tr("Downloading dictionary")); progressDialog->show(); @@ -241,3 +241,4 @@ bool XdxfDictDownloader::extract(QString file) { } +