Skip to content
Permalink
Browse files

Add placeholder texts to connect dialog.

Some users still try to enter a password in that dialog.
Try to make it even more clear what belongs in which field
by adding placeholder texts to the QLineEdits.

Hopefully fixes #1442
  • Loading branch information...
hacst committed Oct 23, 2014
1 parent c9f170e commit 71ff77b240481f47e91f864fc95a1aa5b601cb69
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/mumble/ConnectDialogEdit.ui
@@ -39,6 +39,9 @@
<string>&lt;b&gt;Label&lt;/b&gt;&lt;br/&gt;
Label of the server. This is what the server will be named like in your server list and can be chosen freely.</string>
</property>
<property name="placeholderText">
<string>Local server label</string>
</property>
</widget>
</item>
<item row="1" column="0">
@@ -60,6 +63,9 @@ Label of the server. This is what the server will be named like in your server l
<string>&lt;b&gt;Address&lt;/b&gt;&lt;br/&gt;
Internet address of the server. This can be a normal hostname, an IPv4/IPv6 address or a Bonjour service identifier. Bonjour service identifiers have to be prefixed with a '@' to be recognized by Mumble.</string>
</property>
<property name="placeholderText">
<string>127.0.0.1</string>
</property>
</widget>
</item>
<item row="2" column="0">
@@ -81,6 +87,9 @@ Internet address of the server. This can be a normal hostname, an IPv4/IPv6 addr
<string>&lt;b&gt;Port&lt;/b&gt;&lt;br/&gt;
Port on which the server is listening. If the server is identified by a Bonjour service identifier this field will be ignored.</string>
</property>
<property name="placeholderText">
<string>64738</string>
</property>
</widget>
</item>
<item row="3" column="0">
@@ -102,6 +111,9 @@ Port on which the server is listening. If the server is identified by a Bonjour
<string>&lt;b&gt;Username&lt;/b&gt;&lt;br/&gt;
Username to send to the server. Be aware that the server can impose restrictions on how a username might look like. Also your username could already be taken by another user.</string>
</property>
<property name="placeholderText">
<string>Your username</string>
</property>
</widget>
</item>
<item row="6" column="1">
@@ -127,6 +139,9 @@ Username to send to the server. Be aware that the server can impose restrictions
<string>&lt;b&gt;Password&lt;/b&gt;&lt;br/&gt;
Password to be sent to the server on connect. This password is needed when connecting as &lt;i&gt;SuperUser&lt;/i&gt; or to a server using password authentication. If not entered here the password will be queried on connect.</string>
</property>
<property name="placeholderText">
<string>Your password</string>
</property>
</widget>
</item>
<item row="5" column="1">

0 comments on commit 71ff77b

Please sign in to comment.
You can’t perform that action at this time.