- Fix compilation warning in release mode

- Fix vertical alignment in torrent properties panel
This commit is contained in:
Christophe Dumez 2009-12-06 13:31:30 +00:00
parent c4bf42524c
commit fa2891c225
2 changed files with 5 additions and 17 deletions

View file

@ -284,8 +284,6 @@ void PropertiesWidget::saveSettings() {
sizes = hSplitter->sizes();
else
sizes = slideSizes;
if(state == VISIBLE)
qDebug("Visible");
qDebug("Sizes: %d", sizes.size());
if(sizes.size() == 2) {
settings.setValue(QString::fromUtf8("TorrentProperties/SplitterSizes"), QString::number(sizes.first())+','+QString::number(sizes.last()));

View file

@ -53,7 +53,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<y>-81</y>
<width>518</width>
<height>371</height>
</rect>
@ -414,6 +414,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>8</number>
</property>
<item>
<widget class="QLabel" name="savePath_lbl">
<property name="sizePolicy">
@ -462,26 +465,13 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="comment_lbl2">
<property name="text">
<string>Comment:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>