From 0a6f591cf525a9f15e5b2cd28b1bbc8fb78864db Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 9 Apr 2011 09:03:04 +0000 Subject: [PATCH] Remove stylesheets from options.ui --- src/preferences/options.ui | 90 ++++++--------------------------- src/qtlibtorrent/qbtsession.cpp | 1 + 2 files changed, 16 insertions(+), 75 deletions(-) diff --git a/src/preferences/options.ui b/src/preferences/options.ui index 0d4b362ad..ca1420b58 100644 --- a/src/preferences/options.ui +++ b/src/preferences/options.ui @@ -171,8 +171,8 @@ 0 0 - 508 - 531 + 499 + 506 @@ -506,9 +506,9 @@ 0 - 0 - 453 - 744 + -344 + 499 + 728 @@ -564,16 +564,6 @@ - - QGroupBox::title { -font-weight: normal; -margin-left: 0px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Save files to location: @@ -639,16 +629,6 @@ QGroupBox { - - QGroupBox::title { -font-weight: normal; -margin-left: 0px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Keep incomplete torrents in: @@ -808,16 +788,6 @@ QGroupBox { 0 - - QGroupBox::title { -font-weight: normal; -margin-left: 0px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Copy .torrent files to: @@ -957,8 +927,8 @@ QGroupBox { 0 0 - 480 - 457 + 499 + 426 @@ -1437,8 +1407,8 @@ QGroupBox { 0 0 - 403 - 334 + 514 + 384 @@ -1655,16 +1625,6 @@ QGroupBox { - - QGroupBox::title { -font-weight: normal; -margin-left: 10px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Schedule the use of alternative speed limits @@ -1826,8 +1786,8 @@ QGroupBox { 0 0 - 589 - 422 + 499 + 408 @@ -1839,16 +1799,6 @@ QGroupBox { - - QGroupBox::title { -font-weight: normal; -margin-left: 0px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Enable DHT (decentralized network) to find more peers @@ -1861,16 +1811,6 @@ QGroupBox { - - QGroupBox::title { -font-weight: normal; -margin-left: 0px; -margin-top: 5px; -} -QGroupBox { - border-width: 0; -} - Use a different port for DHT and BitTorrent @@ -2209,8 +2149,8 @@ QGroupBox { 0 0 - 380 - 255 + 514 + 384 @@ -2358,8 +2298,8 @@ QGroupBox { 0 0 - 64 - 18 + 514 + 384 diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 135c4b7d4..230fb7db3 100644 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -907,6 +907,7 @@ QTorrentHandle QBtSession::addTorrent(QString path, bool fromScanDir, QString fr qDebug("Adding %s to download list", qPrintable(path)); boost::intrusive_ptr t; try { + qDebug() << "Loading torrent at" << path; // Getting torrent file informations t = new torrent_info(path.toUtf8().constData()); if(!t->is_valid())