Skip to content

Conversation

@zomfg
Copy link

@zomfg zomfg commented Jul 4, 2020


// Connections to signals which will be connected to ILedDevice
if (!m_noGui)
if (!m_noGui && m_settingsWindow)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking m_noGui is sufficient, or is there a case where !m_noGui && !m_settingsWindow?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now either combination should be enough, I just put both for extra..
there are places where neither are checked but I didn't trace every path, it seems to run as is though
what broke it is the addition of soundviz on linux (and mac)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought so far the code was consistently checking m_noGui (except since the addition of soundviz-linux/mac), but fine, it doesn't really matter

@psieg psieg merged commit 1907cf1 into psieg:master Jul 12, 2020
@zomfg zomfg deleted the hotfix/nogui-crash branch August 13, 2020 16:27
@zomfg zomfg mentioned this pull request Nov 15, 2020
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.

2 participants