|
|
|
@ -62,6 +62,7 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
@@ -62,6 +62,7 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
|
|
|
|
|
|
|
|
|
|
public slots: |
|
|
|
|
void on_downloadButton_clicked() { |
|
|
|
|
close(); |
|
|
|
|
QString urls = textUrls->toPlainText(); |
|
|
|
|
QStringList url_list = urls.split(QString::fromUtf8("\n")); |
|
|
|
|
QString url; |
|
|
|
@ -80,7 +81,6 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
@@ -80,7 +81,6 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
|
|
|
|
|
} |
|
|
|
|
emit urlsReadyToBeDownloaded(url_list_cleaned); |
|
|
|
|
qDebug("Emitted urlsReadytobedownloaded signal"); |
|
|
|
|
close(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void on_cancelButton_clicked() { |
|
|
|
|