|
|
@ -162,10 +162,10 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis |
|
|
|
refresher = new QTimer(this); |
|
|
|
refresher = new QTimer(this); |
|
|
|
connect(refresher, SIGNAL(timeout()), this, SLOT(updateLists())); |
|
|
|
connect(refresher, SIGNAL(timeout()), this, SLOT(updateLists())); |
|
|
|
refresher->start(1500); |
|
|
|
refresher->start(1500); |
|
|
|
// Configure BT session according to options
|
|
|
|
|
|
|
|
configureSession(true); |
|
|
|
|
|
|
|
// Resume unfinished torrents
|
|
|
|
// Resume unfinished torrents
|
|
|
|
BTSession->resumeUnfinishedTorrents(); |
|
|
|
BTSession->resumeUnfinishedTorrents(); |
|
|
|
|
|
|
|
// Configure BT session according to options
|
|
|
|
|
|
|
|
configureSession(true); |
|
|
|
// Add torrent given on command line
|
|
|
|
// Add torrent given on command line
|
|
|
|
processParams(torrentCmdLine); |
|
|
|
processParams(torrentCmdLine); |
|
|
|
// Initialize Web UI
|
|
|
|
// Initialize Web UI
|
|
|
|