
We have the file "qt/qtsystrayicon.py" in the repo containing "class QtSysTrayIcon" and also a "if __name__ == '__main__':" section. I tried to find out how this class is used but couldn't find something about it.
The systray icon is shown via the qt/plugins/qt4plugin.py "plugin" that spawns a new process by execuring qt/qtsystrayicon.py (that is the reason why qtsystrayicon.py also has __main__ section): https://github.com/bit-team/backintime/blob/e44e9d64b972be2dab3aa0f94af34d44... There are some deficiencies in the implementation (e. g. the "--debug" and other arguments are not passed along but only the profile ID: https://github.com/bit-team/backintime/blob/e44e9d64b972be2dab3aa0f94af34d44... See also this issue: https://github.com/bit-team/backintime/issues/1405 This plugin is my current wip but is "idle" since half a year (I must finish this soon :-) HIH