Merge bitcoin-core/gui#115: Replace "Hide tray icon" option with positive "Show tray icon" one

03edb52eee qt: Remove redundant BitcoinGUI::setTrayIconVisible (Hennadii Stepanov)
17174f8328 gui: Replace "Hide tray icon" option with positive "Show tray icon" one (Hennadii Stepanov)

Pull request description:

  This change makes easier both (1) using this option, and (2) reasoning about the code.

ACKs for top commit:
  jonasschnelli:
    utACK 03edb52eee

Tree-SHA512: 38e317492210d4fb13302dea383bd1f4f0ae1219d7ff2fdcb78607f15ac61a51969acaadb59b72c3f075b6356ef54368eb46fb49e6e1bd42db6d5804b97e232b
This commit is contained in:
Jonas Schnelli
2020-12-15 09:28:39 +01:00
7 changed files with 31 additions and 41 deletions

View File

@@ -568,12 +568,15 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_Window">
<item>
<widget class="QCheckBox" name="hideTrayIcon">
<widget class="QCheckBox" name="showTrayIcon">
<property name="toolTip">
<string>Hide the icon from the system tray.</string>
<string>Show the icon in the system tray.</string>
</property>
<property name="text">
<string>&amp;Hide tray icon</string>
<string>&amp;Show tray icon</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>