mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
parent
9f8a6e8fb1
commit
132be7ee9d
1 changed files with 6 additions and 1 deletions
|
@ -83,7 +83,12 @@ DownloadFromURLDialog::DownloadFromURLDialog(QWidget *parent)
|
||||||
if (isDownloadable(str))
|
if (isDownloadable(str))
|
||||||
uniqueURLs << str;
|
uniqueURLs << str;
|
||||||
}
|
}
|
||||||
m_ui->textUrls->setText(uniqueURLs.values().join('\n'));
|
|
||||||
|
const QString text = uniqueURLs.values().join(QLatin1Char('\n'))
|
||||||
|
+ (!uniqueURLs.isEmpty() ? QLatin1String("\n") : QLatin1String(""));
|
||||||
|
|
||||||
|
m_ui->textUrls->setText(text);
|
||||||
|
m_ui->textUrls->moveCursor(QTextCursor::End);
|
||||||
|
|
||||||
Utils::Gui::resize(this, m_storeDialogSize);
|
Utils::Gui::resize(this, m_storeDialogSize);
|
||||||
show();
|
show();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue