From 17174f8328c44ae84479e8365c122ad8502bd7da Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 25 Oct 2020 00:34:41 +0300 Subject: gui: Replace "Hide tray icon" option with positive "Show tray icon" one This change makes easier both (1) using this option, and (2) reasoning about the code. --- src/qt/bitcoingui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/bitcoingui.h') diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 912297a74e..91c013fd11 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -317,7 +317,7 @@ public Q_SLOTS: /** Show progress dialog e.g. for verifychain */ void showProgress(const QString &title, int nProgress); - /** When hideTrayIcon setting is changed in OptionsModel hide or show the icon accordingly. */ + /** When showTrayIcon setting is changed in OptionsModel show or hide the icon accordingly. */ void setTrayIconVisible(bool); void showModalOverlay(); -- cgit v1.2.3 From 03edb52eee5a87af16161c23bdc6cde91a2e5b8b Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 25 Oct 2020 01:14:32 +0300 Subject: qt: Remove redundant BitcoinGUI::setTrayIconVisible The removed BitcoinGUI::setTrayIconVisible just duplicates QSystemTrayIcon::setVisible. --- src/qt/bitcoingui.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/qt/bitcoingui.h') diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 91c013fd11..1685554e44 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -317,9 +317,6 @@ public Q_SLOTS: /** Show progress dialog e.g. for verifychain */ void showProgress(const QString &title, int nProgress); - /** When showTrayIcon setting is changed in OptionsModel show or hide the icon accordingly. */ - void setTrayIconVisible(bool); - void showModalOverlay(); }; -- cgit v1.2.3