mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Updated TODO
- Load torrents before loading rss and sreach engine on startup
This commit is contained in:
parent
7c48afd6eb
commit
c086558597
2 changed files with 11 additions and 11 deletions
2
TODO
2
TODO
|
@ -45,7 +45,7 @@
|
||||||
- Windows port (Chris - Peerkoel)
|
- Windows port (Chris - Peerkoel)
|
||||||
- Translations update
|
- Translations update
|
||||||
- Allow to abort a search by launching another one
|
- Allow to abort a search by launching another one
|
||||||
- Move addTorrent to a thread
|
- Multithread downloadThread
|
||||||
* beta2
|
* beta2
|
||||||
- Improve RSS code + cleanup (chris)
|
- Improve RSS code + cleanup (chris)
|
||||||
- Wait for some bug fixes in libtorrent :
|
- Wait for some bug fixes in libtorrent :
|
||||||
|
|
18
src/GUI.cpp
18
src/GUI.cpp
|
@ -75,15 +75,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
|
||||||
tabs->addTab(finishedTorrentTab, tr("Finished"));
|
tabs->addTab(finishedTorrentTab, tr("Finished"));
|
||||||
tabs->setTabIcon(1, QIcon(QString::fromUtf8(":/Icons/skin/seeding.png")));
|
tabs->setTabIcon(1, QIcon(QString::fromUtf8(":/Icons/skin/seeding.png")));
|
||||||
connect(finishedTorrentTab, SIGNAL(torrentMovedFromFinishedList(torrent_handle)), this, SLOT(restoreInDownloadList(torrent_handle)));
|
connect(finishedTorrentTab, SIGNAL(torrentMovedFromFinishedList(torrent_handle)), this, SLOT(restoreInDownloadList(torrent_handle)));
|
||||||
// Search engine tab
|
|
||||||
searchEngine = new SearchEngine(BTSession, myTrayIcon, systrayIntegration);
|
|
||||||
tabs->addTab(searchEngine, tr("Search"));
|
|
||||||
tabs->setTabIcon(2, QIcon(QString::fromUtf8(":/Icons/skin/search.png")));
|
|
||||||
// RSS tab
|
|
||||||
rssWidget = new RSSImp();
|
|
||||||
tabs->addTab(rssWidget, tr("RSS"));
|
|
||||||
tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss.png")));
|
|
||||||
readSettings();
|
|
||||||
// Tabs text
|
// Tabs text
|
||||||
nbTorrents = 0;
|
nbTorrents = 0;
|
||||||
tabs->setTabText(0, tr("Downloads") + " (0)");
|
tabs->setTabText(0, tr("Downloads") + " (0)");
|
||||||
|
@ -166,6 +157,15 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
|
||||||
if(!loadColWidthDLList()){
|
if(!loadColWidthDLList()){
|
||||||
downloadList->header()->resizeSection(0, 200);
|
downloadList->header()->resizeSection(0, 200);
|
||||||
}
|
}
|
||||||
|
// Search engine tab
|
||||||
|
searchEngine = new SearchEngine(BTSession, myTrayIcon, systrayIntegration);
|
||||||
|
tabs->addTab(searchEngine, tr("Search"));
|
||||||
|
tabs->setTabIcon(2, QIcon(QString::fromUtf8(":/Icons/skin/search.png")));
|
||||||
|
// RSS tab
|
||||||
|
rssWidget = new RSSImp();
|
||||||
|
tabs->addTab(rssWidget, tr("RSS"));
|
||||||
|
tabs->setTabIcon(3, QIcon(QString::fromUtf8(":/Icons/rss.png")));
|
||||||
|
readSettings();
|
||||||
// Add torrent given on command line
|
// Add torrent given on command line
|
||||||
processParams(torrentCmdLine);
|
processParams(torrentCmdLine);
|
||||||
// Make download list header clickable for sorting
|
// Make download list header clickable for sorting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue