mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Remove stylesheets from options.ui
This commit is contained in:
parent
4ee623f921
commit
0a6f591cf5
@ -171,8 +171,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>508</width>
|
<width>499</width>
|
||||||
<height>531</height>
|
<height>506</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_9">
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
||||||
@ -506,9 +506,9 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>-344</y>
|
||||||
<width>453</width>
|
<width>499</width>
|
||||||
<height>744</height>
|
<height>728</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
@ -564,16 +564,6 @@
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_3">
|
<widget class="QGroupBox" name="groupBox_3">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Save files to location:</string>
|
<string>Save files to location:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -639,16 +629,6 @@ QGroupBox {
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="checkTempFolder">
|
<widget class="QGroupBox" name="checkTempFolder">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Keep incomplete torrents in:</string>
|
<string>Keep incomplete torrents in:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -808,16 +788,6 @@ QGroupBox {
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Copy .torrent files to:</string>
|
<string>Copy .torrent files to:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -957,8 +927,8 @@ QGroupBox {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>480</width>
|
<width>499</width>
|
||||||
<height>457</height>
|
<height>426</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_20">
|
<layout class="QVBoxLayout" name="verticalLayout_20">
|
||||||
@ -1437,8 +1407,8 @@ QGroupBox {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>403</width>
|
<width>514</width>
|
||||||
<height>334</height>
|
<height>384</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_33">
|
<layout class="QVBoxLayout" name="verticalLayout_33">
|
||||||
@ -1655,16 +1625,6 @@ QGroupBox {
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="check_schedule">
|
<widget class="QGroupBox" name="check_schedule">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Schedule the use of alternative speed limits</string>
|
<string>Schedule the use of alternative speed limits</string>
|
||||||
</property>
|
</property>
|
||||||
@ -1826,8 +1786,8 @@ QGroupBox {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>589</width>
|
<width>499</width>
|
||||||
<height>422</height>
|
<height>408</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
@ -1839,16 +1799,6 @@ QGroupBox {
|
|||||||
<layout class="QVBoxLayout" name="verticalLayout_14">
|
<layout class="QVBoxLayout" name="verticalLayout_14">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="checkDHT">
|
<widget class="QGroupBox" name="checkDHT">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Enable DHT (decentralized network) to find more peers</string>
|
<string>Enable DHT (decentralized network) to find more peers</string>
|
||||||
</property>
|
</property>
|
||||||
@ -1861,16 +1811,6 @@ QGroupBox {
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="checkDifferentDHTPort">
|
<widget class="QGroupBox" name="checkDifferentDHTPort">
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">QGroupBox::title {
|
|
||||||
font-weight: normal;
|
|
||||||
margin-left: 0px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
QGroupBox {
|
|
||||||
border-width: 0;
|
|
||||||
}</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Use a different port for DHT and BitTorrent</string>
|
<string>Use a different port for DHT and BitTorrent</string>
|
||||||
</property>
|
</property>
|
||||||
@ -2209,8 +2149,8 @@ QGroupBox {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>380</width>
|
<width>514</width>
|
||||||
<height>255</height>
|
<height>384</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_23">
|
<layout class="QVBoxLayout" name="verticalLayout_23">
|
||||||
@ -2358,8 +2298,8 @@ QGroupBox {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>64</width>
|
<width>514</width>
|
||||||
<height>18</height>
|
<height>384</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_36"/>
|
<layout class="QVBoxLayout" name="verticalLayout_36"/>
|
||||||
|
@ -907,6 +907,7 @@ QTorrentHandle QBtSession::addTorrent(QString path, bool fromScanDir, QString fr
|
|||||||
qDebug("Adding %s to download list", qPrintable(path));
|
qDebug("Adding %s to download list", qPrintable(path));
|
||||||
boost::intrusive_ptr<torrent_info> t;
|
boost::intrusive_ptr<torrent_info> t;
|
||||||
try {
|
try {
|
||||||
|
qDebug() << "Loading torrent at" << path;
|
||||||
// Getting torrent file informations
|
// Getting torrent file informations
|
||||||
t = new torrent_info(path.toUtf8().constData());
|
t = new torrent_info(path.toUtf8().constData());
|
||||||
if(!t->is_valid())
|
if(!t->is_valid())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user