mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
committed by
sledgehammer999
parent
9f8a6e8fb1
commit
132be7ee9d
@@ -83,7 +83,12 @@ DownloadFromURLDialog::DownloadFromURLDialog(QWidget *parent)
|
||||
if (isDownloadable(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);
|
||||
show();
|
||||
|
||||
Reference in New Issue
Block a user