From c08655859761dcbc8fb20119749ccdce68fb7a60 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 22 Jul 2007 12:46:03 +0000 Subject: [PATCH] - Updated TODO - Load torrents before loading rss and sreach engine on startup --- TODO | 4 ++-- src/GUI.cpp | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/TODO b/TODO index 35635f868..3675987d3 100644 --- a/TODO +++ b/TODO @@ -44,8 +44,8 @@ * beta3 - Windows port (Chris - Peerkoel) - Translations update - - Allow to abort a searchby launching another one - - Move addTorrent to a thread + - Allow to abort a search by launching another one + - Multithread downloadThread * beta2 - Improve RSS code + cleanup (chris) - Wait for some bug fixes in libtorrent : diff --git a/src/GUI.cpp b/src/GUI.cpp index 1d37f8a46..cde19c61a 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -75,15 +75,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){ tabs->addTab(finishedTorrentTab, tr("Finished")); tabs->setTabIcon(1, QIcon(QString::fromUtf8(":/Icons/skin/seeding.png"))); 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 nbTorrents = 0; tabs->setTabText(0, tr("Downloads") + " (0)"); @@ -166,6 +157,15 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){ if(!loadColWidthDLList()){ 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 processParams(torrentCmdLine); // Make download list header clickable for sorting