mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Visually close downloadrurl dialog before opening addnewtorrent dialog.
This commit is contained in:
parent
6e9ed4ead7
commit
f8fdd58e20
1 changed files with 1 additions and 1 deletions
|
@ -62,6 +62,7 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void on_downloadButton_clicked() {
|
void on_downloadButton_clicked() {
|
||||||
|
close();
|
||||||
QString urls = textUrls->toPlainText();
|
QString urls = textUrls->toPlainText();
|
||||||
QStringList url_list = urls.split(QString::fromUtf8("\n"));
|
QStringList url_list = urls.split(QString::fromUtf8("\n"));
|
||||||
QString url;
|
QString url;
|
||||||
|
@ -80,7 +81,6 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL{
|
||||||
}
|
}
|
||||||
emit urlsReadyToBeDownloaded(url_list_cleaned);
|
emit urlsReadyToBeDownloaded(url_list_cleaned);
|
||||||
qDebug("Emitted urlsReadytobedownloaded signal");
|
qDebug("Emitted urlsReadytobedownloaded signal");
|
||||||
close();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_cancelButton_clicked() {
|
void on_cancelButton_clicked() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue