Browse Source

Disable torrent addition dialog as a default

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
83a2ae7ad3
  1. 2
      src/preferences.h
  2. 34
      src/ui/options.ui

2
src/preferences.h

@ -195,7 +195,7 @@ public:
static bool useAdditionDialog() { static bool useAdditionDialog() {
QSettings settings("qBittorrent", "qBittorrent"); QSettings settings("qBittorrent", "qBittorrent");
return settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool(); return settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), false).toBool();
} }
static bool addTorrentsInPause() { static bool addTorrentsInPause() {

34
src/ui/options.ui

@ -571,7 +571,7 @@ QGroupBox {
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>-298</y>
<width>632</width> <width>632</width>
<height>686</height> <height>686</height>
</rect> </rect>
@ -1035,7 +1035,7 @@ QGroupBox {
<string>Display torrent content and some options</string> <string>Display torrent content and some options</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>false</bool>
</property> </property>
</widget> </widget>
</item> </item>
@ -1116,8 +1116,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>447</width> <width>524</width>
<height>288</height> <height>398</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_28"> <layout class="QVBoxLayout" name="verticalLayout_28">
@ -1361,8 +1361,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>364</width> <width>524</width>
<height>328</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_33"> <layout class="QVBoxLayout" name="verticalLayout_33">
@ -1776,7 +1776,7 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>459</width> <width>506</width>
<height>407</height> <height>407</height>
</rect> </rect>
</property> </property>
@ -2193,8 +2193,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>475</width> <width>524</width>
<height>308</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_16"> <layout class="QVBoxLayout" name="verticalLayout_16">
@ -2627,8 +2627,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>287</width> <width>524</width>
<height>124</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_21"> <layout class="QVBoxLayout" name="verticalLayout_21">
@ -2724,8 +2724,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>213</width> <width>524</width>
<height>221</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_23"> <layout class="QVBoxLayout" name="verticalLayout_23">
@ -2891,8 +2891,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>445</width> <width>524</width>
<height>192</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_24"> <layout class="QVBoxLayout" name="verticalLayout_24">
@ -3066,8 +3066,8 @@ QGroupBox {
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>98</width> <width>524</width>
<height>28</height> <height>406</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_36"/> <layout class="QVBoxLayout" name="verticalLayout_36"/>

Loading…
Cancel
Save