mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
update
This commit is contained in:
parent
4ca7ae88c3
commit
23f159e80a
2 changed files with 9 additions and 2 deletions
7
comment_reply.txt
Normal file
7
comment_reply.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
@USBhost Thanks for the important clarification! To clarify for WebUI users:
|
||||||
|
|
||||||
|
1. The desktop client changes in #23087 add the warning dialog automatically
|
||||||
|
2. For WebUI performance with large torrents, you need to *manually enable* the virtual list feature (#22502) in:
|
||||||
|
**Preferences → Behavior → Custom WebUI settings → "Enable optimized table rendering (experimental)"**
|
||||||
|
|
||||||
|
This separate setting is required because WebUI uses different technical implementation. Enabling it will optimize file listing performance similar to the desktop warning.
|
|
@ -610,7 +610,7 @@ void TransferListWidget::openSelectedTorrentsFolder() const
|
||||||
|
|
||||||
void TransferListWidget::previewSelectedTorrents()
|
void TransferListWidget::previewSelectedTorrents()
|
||||||
{
|
{
|
||||||
const int FILE_COUNT_THRESHOLD = 100;
|
const int FILE_COUNT_THRESHOLD = 20;
|
||||||
|
|
||||||
for (const BitTorrent::Torrent *torrent : asConst(getSelectedTorrents()))
|
for (const BitTorrent::Torrent *torrent : asConst(getSelectedTorrents()))
|
||||||
{
|
{
|
||||||
|
@ -622,7 +622,7 @@ void TransferListWidget::previewSelectedTorrents()
|
||||||
}
|
}
|
||||||
|
|
||||||
const int fileCount = torrent->filesCount();
|
const int fileCount = torrent->filesCount();
|
||||||
if (fileCount > FILE_COUNT_THRESHOLD)
|
if (fileCount >= FILE_COUNT_THRESHOLD)
|
||||||
{
|
{
|
||||||
QMessageBox::StandardButton reply = QMessageBox::question(this, tr("Preview confirmation"),
|
QMessageBox::StandardButton reply = QMessageBox::question(this, tr("Preview confirmation"),
|
||||||
tr("The torrent \"%1\" has a large number of files (%2). Previewing may take a long time. Do you want to continue?")
|
tr("The torrent \"%1\" has a large number of files (%2). Previewing may take a long time. Do you want to continue?")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue