HomePhabricator

Qt: Add option to hide the system tray icon
8b0e4970281dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Tyler Hardin <th020394@gmail.com>Authored on May 12 2016, 02:28
deadalnixPushed on May 14 2017, 22:04
Parents
rABC42a67533828f: Merge #8000: tinyformat: force USE_VARIADIC_TEMPLATES
Branches
Unknown
Tags
Unknown

Event Timeline

Tyler Hardin <th020394@gmail.com> committed rABC8b0e4970281d: Qt: Add option to hide the system tray icon (authored by Tyler Hardin <th020394@gmail.com>).May 12 2016, 02:28