|
|
|
@ -963,7 +963,6 @@ void TransferListWidget::displayListMenu(const QPoint&)
@@ -963,7 +963,6 @@ void TransferListWidget::displayListMenu(const QPoint&)
|
|
|
|
|
oneHasMetadata = true; |
|
|
|
|
if (!torrent->isSeed()) { |
|
|
|
|
oneNotSeed = true; |
|
|
|
|
if (torrent->hasMetadata()) { |
|
|
|
|
if (first) { |
|
|
|
|
sequentialDownloadMode = torrent->isSequentialDownload(); |
|
|
|
|
prioritizeFirstLast = torrent->hasFirstLastPiecePriority(); |
|
|
|
@ -975,15 +974,12 @@ void TransferListWidget::displayListMenu(const QPoint&)
@@ -975,15 +974,12 @@ void TransferListWidget::displayListMenu(const QPoint&)
|
|
|
|
|
allSamePrioFirstlast = false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
if (!oneNotSeed && allSameSuperSeeding && torrent->hasMetadata()) { |
|
|
|
|
if (first) { |
|
|
|
|
if (first) |
|
|
|
|
superSeedingMode = torrent->superSeeding(); |
|
|
|
|
} |
|
|
|
|
else if (superSeedingMode != torrent->superSeeding()) |
|
|
|
|
allSameSuperSeeding = false; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (!torrent->isForced()) |
|
|
|
@ -1082,7 +1078,7 @@ void TransferListWidget::displayListMenu(const QPoint&)
@@ -1082,7 +1078,7 @@ void TransferListWidget::displayListMenu(const QPoint&)
|
|
|
|
|
listMenu.addAction(&actionPreviewFile); |
|
|
|
|
addedPreviewAction = true; |
|
|
|
|
} |
|
|
|
|
if (oneNotSeed && oneHasMetadata) { |
|
|
|
|
if (oneNotSeed) { |
|
|
|
|
if (allSameSequentialDownloadMode) { |
|
|
|
|
actionSequentialDownload.setChecked(sequentialDownloadMode); |
|
|
|
|
listMenu.addAction(&actionSequentialDownload); |
|
|
|
|