1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 18:04:32 +00:00

Add tooltip to listening port spinbox

This commit is contained in:
Chocobo1 2021-08-09 13:05:57 +08:00
parent a93cf04aca
commit 526ee9c9db
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 4 additions and 1 deletions

View File

@ -1457,6 +1457,9 @@ Manual: Various torrent properties (e.g. save path) must be assigned manually</s
</item>
<item>
<widget class="QSpinBox" name="spinPort">
<property name="toolTip">
<string>Set to 0 to let your system pick an unused port</string>
</property>
<property name="specialValueText">
<string>Any</string>
</property>

View File

@ -231,7 +231,7 @@
<legend>QBT_TR(Listening Port)QBT_TR[CONTEXT=OptionsDialog]</legend>
<div class="formRow">
<label for="port_value">QBT_TR(Port used for incoming connections:)QBT_TR[CONTEXT=OptionsDialog]</label>
<input type="text" id="port_value" style="width: 4em;" />
<input type="text" id="port_value" style="width: 4em;" title="QBT_TR(Set to 0 to let your system pick an unused port)QBT_TR[CONTEXT=OptionsDialog]" />
<button style="margin-left: 1em;" onclick="qBittorrent.Preferences.generateRandomPort();">QBT_TR(Random)QBT_TR[CONTEXT=OptionsDialog]</button>
</div>
<div class="formRow">