1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Fix tab icons messed up in Ubuntu 16. Closes #4929.

Fixup of 1c256036863f906c800b5d639602a290027d6e45.
The following settings default are different between DEs, so they must set explicitly:
movement, flow, isWarpping, resizeMode, viewMode
This commit is contained in:
Chocobo1 2016-03-11 00:45:57 +08:00
parent d41031ebf7
commit 7ac7268b8f

View File

@ -26,9 +26,18 @@
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="movement">
<enum>QListView::Static</enum>
</property>
<property name="flow">
<enum>QListView::TopToBottom</enum>
</property>
<property name="isWrapping" stdset="0">
<bool>false</bool>
</property>
<property name="resizeMode">
<enum>QListView::Adjust</enum>
</property>
<property name="viewMode">
<enum>QListView::IconMode</enum>
</property>
@ -39,78 +48,36 @@
<property name="text">
<string>Behavior</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Downloads</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Connection</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Speed</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>BitTorrent</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Web UI</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
<item>
<property name="text">
<string>Advanced</string>
</property>
<property name="textAlignment">
<set>AlignCenter</set>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsEnabled</set>
</property>
</item>
</widget>
<widget class="QStackedWidget" name="tabOption">
@ -546,8 +513,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>454</width>
<height>1212</height>
<width>487</width>
<height>1334</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
@ -1230,8 +1197,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>361</width>
<height>586</height>
<width>450</width>
<height>658</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_20">
@ -1760,8 +1727,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>275</width>
<height>401</height>
<width>376</width>
<height>444</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
@ -2147,8 +2114,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>440</width>
<height>481</height>
<width>555</width>
<height>527</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7">
@ -2544,8 +2511,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>332</width>
<height>480</height>
<width>419</width>
<height>537</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">