mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Merge pull request #11430 from Chocobo1/qt
Fix integer narrowing on x86
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();
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ QVariant TransferListModel::data(const QModelIndex &index, const int role) const
|
||||
case TR_CATEGORY:
|
||||
return torrent->category();
|
||||
case TR_TAGS: {
|
||||
QStringList tagsList = torrent->tags().toList();
|
||||
QStringList tagsList = torrent->tags().values();
|
||||
tagsList.sort();
|
||||
return tagsList.join(", ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user