-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT adding system tray icon #14
base: master
Are you sure you want to change the base?
Conversation
TheRedPhoenix
commented
Jun 5, 2023
> Added temporary png to serve as Tray icon and Application Icon > Added dependency to QWidget (in certain Window Managers, if no default System Tray Icon is available, the framework will default to QWidget to deploy the feature) > Changed QGuiApplication to QApplication. Due to the potential dependency from QWidget, QApplication has to be used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are almost trivial, no need for further comments.
Can be merged.
Before merging, conflicts must be resolved.
Conflicts solved @ 1d3967f |
@TheRedPhoenix there is something strange on the system tray behaviour. I have:
I wouldn't have expected the actual closing. Is it something related to the Qt version? I was testing on Win10, Qt 6.5.1, MSVC 2022 |
Mmhm what you are seing is the implemented behavior. I only added an icon to the system tray that allows to restore the window when minimized or restore focus to the window. I didn't overload the quit behavior, but we can do that :) |