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
|
* Sun Oct 17 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.6
|
||||||
- BUGFIX: Fix "torrent seeding after creation" feature
|
- BUGFIX: Fix "torrent seeding after creation" feature
|
||||||
- BUGFIX: The properties panel data would sometimes not match the selected torrent
|
- 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());
|
properties->getPeerList()->setAlternatingRowColors(Preferences::useAlternatingRowColors());
|
||||||
// Queueing System
|
// Queueing System
|
||||||
if(Preferences::isQueueingSystemEnabled()) {
|
if(Preferences::isQueueingSystemEnabled()) {
|
||||||
if(!configure_session || !BTSession->isQueueingEnabled()) {
|
if(!actionDecreasePriority->isVisible()) {
|
||||||
transferList->hidePriorityColumn(false);
|
transferList->hidePriorityColumn(false);
|
||||||
actionDecreasePriority->setVisible(true);
|
actionDecreasePriority->setVisible(true);
|
||||||
actionIncreasePriority->setVisible(true);
|
actionIncreasePriority->setVisible(true);
|
||||||
@@ -973,7 +973,7 @@ void GUI::loadPreferences(bool configure_session) {
|
|||||||
toolBar->layout()->setSpacing(7);
|
toolBar->layout()->setSpacing(7);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(BTSession->isQueueingEnabled()) {
|
if(actionDecreasePriority->isVisible()) {
|
||||||
transferList->hidePriorityColumn(true);
|
transferList->hidePriorityColumn(true);
|
||||||
actionDecreasePriority->setVisible(false);
|
actionDecreasePriority->setVisible(false);
|
||||||
actionIncreasePriority->setVisible(false);
|
actionIncreasePriority->setVisible(false);
|
||||||
|
|||||||
@@ -861,6 +861,7 @@ void TransferListWidget::copySelectedMagnetURIs() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TransferListWidget::hidePriorityColumn(bool hide) {
|
void TransferListWidget::hidePriorityColumn(bool hide) {
|
||||||
|
qDebug("hidePriorityColumn(%d)", hide);
|
||||||
setColumnHidden(TR_PRIORITY, hide);
|
setColumnHidden(TR_PRIORITY, hide);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user