diff options
| author | Tyler Hardin <[email protected]> | 2016-05-11 22:28:02 -0400 |
|---|---|---|
| committer | Tyler Hardin <[email protected]> | 2016-05-11 22:28:02 -0400 |
| commit | 8b0e4970281de15472a93a529302f3de15163943 (patch) | |
| tree | 26f55cc6d7e35cd5597ee1caefc1f503dd9aee5d /src/test/script_tests.cpp | |
| parent | Merge #8000: tinyformat: force USE_VARIADIC_TEMPLATES (diff) | |
| download | discoin-8b0e4970281de15472a93a529302f3de15163943.tar.xz discoin-8b0e4970281de15472a93a529302f3de15163943.zip | |
Qt: Add option to hide the system tray icon
My changes leave all tray icon and menu creation/initialization logic
untouched. It only shows or hides the icon according to the setting.
A new checkbox was added to the OptionsDialog under the Window tab. A
bool option named "hideTrayIcon" was added to OptionsModel. This
checkbox was mapped like other all options to the OptionsModel.
A signal was added to the OptionsModel for broadcasting changes the the
hideTrayIcon option. This signal was connected to a new slot added to
BitcoinGUI named setTrayIconVisible(bool). The slot simply hides or
shows the trayIcon in BitcoinGUI according to the parameter recieved.
Diffstat (limited to 'src/test/script_tests.cpp')
0 files changed, 0 insertions, 0 deletions