mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Replace deprecated Qt functions
QSet::toList() is replaced by QSet::values()
This commit is contained in:
@@ -79,7 +79,7 @@ DownloadFromURLDialog::DownloadFromURLDialog(QWidget *parent)
|
||||
if (isDownloadable(str))
|
||||
uniqueURLs << str;
|
||||
}
|
||||
m_ui->textUrls->setText(uniqueURLs.toList().join('\n'));
|
||||
m_ui->textUrls->setText(uniqueURLs.values().join('\n'));
|
||||
|
||||
Utils::Gui::resize(this);
|
||||
show();
|
||||
@@ -108,6 +108,6 @@ void DownloadFromURLDialog::downloadButtonClicked()
|
||||
return;
|
||||
}
|
||||
|
||||
emit urlsReadyToBeDownloaded(uniqueURLs.toList());
|
||||
emit urlsReadyToBeDownloaded(uniqueURLs.values());
|
||||
accept();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user