mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
BUGFIX: Display the priority column when the queueing system gets enabled
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.4.7
|
||||
- BUGFIX: Display the priority column when the queueing system gets enabled
|
||||
|
||||
* Sun Oct 17 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.6
|
||||
- BUGFIX: Fix "torrent seeding after creation" feature
|
||||
- BUGFIX: The properties panel data would sometimes not match the selected torrent
|
||||
|
||||
@@ -964,7 +964,7 @@ void GUI::loadPreferences(bool configure_session) {
|
||||
properties->getPeerList()->setAlternatingRowColors(Preferences::useAlternatingRowColors());
|
||||
// Queueing System
|
||||
if(Preferences::isQueueingSystemEnabled()) {
|
||||
if(!configure_session || !BTSession->isQueueingEnabled()) {
|
||||
if(!actionDecreasePriority->isVisible()) {
|
||||
transferList->hidePriorityColumn(false);
|
||||
actionDecreasePriority->setVisible(true);
|
||||
actionIncreasePriority->setVisible(true);
|
||||
@@ -973,7 +973,7 @@ void GUI::loadPreferences(bool configure_session) {
|
||||
toolBar->layout()->setSpacing(7);
|
||||
}
|
||||
} else {
|
||||
if(BTSession->isQueueingEnabled()) {
|
||||
if(actionDecreasePriority->isVisible()) {
|
||||
transferList->hidePriorityColumn(true);
|
||||
actionDecreasePriority->setVisible(false);
|
||||
actionIncreasePriority->setVisible(false);
|
||||
|
||||
@@ -861,6 +861,7 @@ void TransferListWidget::copySelectedMagnetURIs() const {
|
||||
}
|
||||
|
||||
void TransferListWidget::hidePriorityColumn(bool hide) {
|
||||
qDebug("hidePriorityColumn(%d)", hide);
|
||||
setColumnHidden(TR_PRIORITY, hide);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user