Skip to content

Fixed definitions if QT_NO_SYSTEMTRAYICON is defined in gui_helper#910

Open
aselafernando wants to merge 1 commit intoAlbrechtL:nextfrom
aselafernando:master
Open

Fixed definitions if QT_NO_SYSTEMTRAYICON is defined in gui_helper#910
aselafernando wants to merge 1 commit intoAlbrechtL:nextfrom
aselafernando:master

Conversation

@aselafernando
Copy link
Copy Markdown

What does this PR do and why is it necessary?

When compiling with QT_NO_SYSTEMTRAYICON defined, QSystemTrayIcon is no longer included.
Function prototypes that reference QSystemTrayIcon should not be defined.
This PR ensures in gui_helper.h and gui_helper.cpp any references to QSystemTrayIcon are wrapped in a
#ifndef QT_NO_SYSTEMTRAYICON directive

How was it tested? How can it be tested by the reviewer?

Compile as normal with QT_NO_SYSTEMTRAYICON defined

Any background context you want to provide?

What are the relevant tickets if any?

Screenshots (if appropriate)

Further notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant