|
|
@ -110,10 +110,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis |
|
|
|
actionSet_global_upload_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/seeding.png"))); |
|
|
|
actionSet_global_upload_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/seeding.png"))); |
|
|
|
actionSet_global_download_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/downloading.png"))); |
|
|
|
actionSet_global_download_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/downloading.png"))); |
|
|
|
actionDocumentation->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/qb_question.png"))); |
|
|
|
actionDocumentation->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/qb_question.png"))); |
|
|
|
prioSeparator = toolBar->insertSeparator(actionDecreasePriority); |
|
|
|
|
|
|
|
prioSeparator2 = menu_Edit->insertSeparator(actionDecreasePriority); |
|
|
|
|
|
|
|
prioSeparator->setVisible(false); |
|
|
|
|
|
|
|
prioSeparator2->setVisible(false); |
|
|
|
|
|
|
|
actionDelete_Permanently->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/delete_perm.png"))); |
|
|
|
actionDelete_Permanently->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/delete_perm.png"))); |
|
|
|
actionTorrent_Properties->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/properties.png"))); |
|
|
|
actionTorrent_Properties->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/properties.png"))); |
|
|
|
actionCreate_torrent->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/new.png"))); |
|
|
|
actionCreate_torrent->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/new.png"))); |
|
|
@ -1034,11 +1030,6 @@ void GUI::configureSession(bool deleteOptions) { |
|
|
|
if(options->isQueueingSystemEnabled()) { |
|
|
|
if(options->isQueueingSystemEnabled()) { |
|
|
|
if(!BTSession->isQueueingEnabled()) { |
|
|
|
if(!BTSession->isQueueingEnabled()) { |
|
|
|
downloadingTorrentTab->hidePriorityColumn(false); |
|
|
|
downloadingTorrentTab->hidePriorityColumn(false); |
|
|
|
actionDecreasePriority->setVisible(true); |
|
|
|
|
|
|
|
actionIncreasePriority->setVisible(true); |
|
|
|
|
|
|
|
prioSeparator->setVisible(true); |
|
|
|
|
|
|
|
prioSeparator2->setVisible(true); |
|
|
|
|
|
|
|
toolBar->layout()->setSpacing(7); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
int max_torrents = options->getMaxActiveTorrents(); |
|
|
|
int max_torrents = options->getMaxActiveTorrents(); |
|
|
|
int max_downloads = options->getMaxActiveDownloads(); |
|
|
|
int max_downloads = options->getMaxActiveDownloads(); |
|
|
@ -1054,10 +1045,6 @@ void GUI::configureSession(bool deleteOptions) { |
|
|
|
sessionSettings.active_seeds = -1; |
|
|
|
sessionSettings.active_seeds = -1; |
|
|
|
BTSession->setQueueingEnabled(false); |
|
|
|
BTSession->setQueueingEnabled(false); |
|
|
|
downloadingTorrentTab->hidePriorityColumn(true); |
|
|
|
downloadingTorrentTab->hidePriorityColumn(true); |
|
|
|
actionIncreasePriority->setVisible(false); |
|
|
|
|
|
|
|
prioSeparator->setVisible(false); |
|
|
|
|
|
|
|
prioSeparator2->setVisible(false); |
|
|
|
|
|
|
|
toolBar->layout()->setSpacing(7); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
BTSession->setSessionSettings(sessionSettings); |
|
|
|
BTSession->setSessionSettings(sessionSettings); |
|
|
|