mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
BUGFIX: Make sure the number of torrents is properly set on startup (closes #694135)
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
||||||
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
||||||
|
- BUGFIX: Make sure the number of torrents is properly set on startup (closes #694135)
|
||||||
|
|
||||||
* Sun Dec 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.2
|
* Sun Dec 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.2
|
||||||
- BUGFIX: Fix alternative speed icon staying pressed when disabled
|
- BUGFIX: Fix alternative speed icon staying pressed when disabled
|
||||||
|
|||||||
@@ -163,8 +163,6 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||||||
vSplitter->setCollapsible(0, true);
|
vSplitter->setCollapsible(0, true);
|
||||||
vSplitter->setCollapsible(1, false);
|
vSplitter->setCollapsible(1, false);
|
||||||
tabs->addTab(vSplitter, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")), tr("Transfers"));
|
tabs->addTab(vSplitter, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")), tr("Transfers"));
|
||||||
connect(transferList->getSourceModel(), SIGNAL(rowsInserted(QModelIndex, int, int)), this, SLOT(updateNbTorrents()));
|
|
||||||
connect(transferList->getSourceModel(), SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SLOT(updateNbTorrents()));
|
|
||||||
|
|
||||||
vboxLayout->addWidget(tabs);
|
vboxLayout->addWidget(tabs);
|
||||||
|
|
||||||
@@ -263,6 +261,11 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||||||
connect(updater, SIGNAL(updateCheckFinished(bool, QString)), SLOT(handleUpdateCheckFinished(bool, QString)));
|
connect(updater, SIGNAL(updateCheckFinished(bool, QString)), SLOT(handleUpdateCheckFinished(bool, QString)));
|
||||||
updater->checkForUpdates();
|
updater->checkForUpdates();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Update the number of torrents (tab)
|
||||||
|
updateNbTorrents();
|
||||||
|
connect(transferList->getSourceModel(), SIGNAL(rowsInserted(QModelIndex, int, int)), this, SLOT(updateNbTorrents()));
|
||||||
|
connect(transferList->getSourceModel(), SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SLOT(updateNbTorrents()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::deleteBTSession() {
|
void MainWindow::deleteBTSession() {
|
||||||
|
|||||||
Reference in New Issue
Block a user