Merge bitcoin-core/gui#419: Add missing tooltips to options menu settings

9bd168bf54 qt: add missing tooltips to options menu settings (Jarol Rodriguez)

Pull request description:

  This adds missing tooltips to the text of the `Size of database cache` and the `Number of script verification threads` settings.

  All settings in the Options window will now have appropriate tooltip texts.

ACKs for top commit:
  jonatack:
    ACK 9bd168bf54 tested on Debian 5.10.46-4 (2021-08-03)
  hebasto:
    ACK 9bd168bf54, tested on Linux Mint 20.2 (Qt 5.12.8).

Tree-SHA512: d71946bfee33c624a8b79eafe514d2c902090a40bc25097be4c7da4a80270f53305002af1b27d5fd082a0f45f838e22036632f9445918c4b8898073b33c09c08
pull/22995/head
Hennadii Stepanov 3 years ago
commit 7ecb309c4e
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -104,6 +104,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_2_Main"> <layout class="QHBoxLayout" name="horizontalLayout_2_Main">
<item> <item>
<widget class="QLabel" name="databaseCacheLabel"> <widget class="QLabel" name="databaseCacheLabel">
<property name="toolTip">
<string extracomment="Tooltip text for Options window setting that sets the size of the database cache. Explains the corresponding effects of increasing/decreasing this value.">Maximum database cache size. A larger cache can contribute to faster sync, after which the benefit is less pronounced for most use cases. Lowering the cache size will reduce memory usage. Unused mempool memory is shared for this cache.</string>
</property>
<property name="text"> <property name="text">
<string>Size of &amp;database cache</string> <string>Size of &amp;database cache</string>
</property> </property>
@ -147,6 +150,9 @@
<layout class="QHBoxLayout" name="horizontalLayout_Main_VerifyLabel"> <layout class="QHBoxLayout" name="horizontalLayout_Main_VerifyLabel">
<item> <item>
<widget class="QLabel" name="threadsScriptVerifLabel"> <widget class="QLabel" name="threadsScriptVerifLabel">
<property name="toolTip">
<string extracomment="Tooltip text for Options window setting that sets the number of script verification threads. Explains that negative values mean to leave these many cores free to the system.">Set the number of script verification threads. Negative values correspond to the number of cores you want to leave free to the system.</string>
</property>
<property name="text"> <property name="text">
<string>Number of script &amp;verification threads</string> <string>Number of script &amp;verification threads</string>
</property> </property>

Loading…
Cancel
Save