Don't show the progress bar in AddNewTorrent dialog when not necessary.

This commit is contained in:
sledgehammer999
2013-09-01 16:03:01 +03:00
parent 4f99b04a42
commit 17c122e5ad
3 changed files with 26 additions and 16 deletions

View File

@@ -186,6 +186,28 @@
</item>
<item>
<layout class="QHBoxLayout" name="buttonsHLayout">
<item>
<widget class="QProgressBar" name="progMetaLoading">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<number>0</number>
</property>
<property name="value">
<number>-1</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
<property name="format">
<string notr="true">%p%</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblMetaLoading">
<property name="enabled">