support Qt 4.6

This commit is contained in:
Thomas Mueller 2012-07-31 10:43:38 +02:00
parent 5bde3262d6
commit e4da16b9d6
2 changed files with 7 additions and 7 deletions

View file

@ -23,6 +23,12 @@ Mirall::ProxyDialog::ProxyDialog( QWidget* parent )
: QDialog(parent)
{
setupUi(this);
#if QT_VERSION >= 0x040700
hostLineEdit->setPlaceholderText(QApplication::translate("proxyDialog", "Hostname of proxy server"));
userLineEdit->setPlaceholderText(QApplication::translate("proxyDialog", "Username to authenticate on proxy server"));
#endif
}
void Mirall::ProxyDialog::saveSettings()

View file

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>509</width>
<height>299</height>
<height>360</height>
</rect>
</property>
<property name="windowTitle">
@ -116,9 +116,6 @@
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>Username to authenticate on proxy server</string>
</property>
</widget>
</item>
<item row="4" column="0">
@ -166,9 +163,6 @@
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>Hostname of proxy server</string>
</property>
</widget>
</item>
<item row="1" column="1">