code clean
[mdictionary] / src / plugins / xdxf / XdxfDictDownloader.cpp
index f212d71..57227b1 100644 (file)
@@ -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 <mateusz.polrola@comarch.com>
 */
 
@@ -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) {
 }
 
 
+