Skip to content
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

Fix for #3755, check if Screen::screenAt(p) is nullptr #3756

Merged
merged 1 commit into from Aug 25, 2019
Merged

Fix for #3755, check if Screen::screenAt(p) is nullptr #3756

merged 1 commit into from Aug 25, 2019

Conversation

ghost
Copy link

@ghost ghost commented Aug 23, 2019

check if Screen::screenAt(p) is not nullptr in MainWindow.cpp,
MainWindow::trayAboutToShow(). If screen == nullptr, do nothing more.

This is a work around / fix for #3755, on my machine everything works after adding this check (the tray works too as always).

I'm not an C++/QT expert so maybe that is not a good solution - in that case just tell me and close the PR.

Thanks!

src/mumble/MainWindow.cpp Outdated Show resolved Hide resolved
check if Screen::screenAt(p) != nullptr in MainWindow.cpp,
MainWindow::trayAboutToShow(). If screen == nullptr, do nothing more.
@davidebeatrici davidebeatrici changed the title Fix for #3755, check if Screen::screenAt(p) is NULL Fix for #3755, check if Screen::screenAt(p) is nullptr Aug 25, 2019
@davidebeatrici davidebeatrici merged commit 32d6954 into mumble-voip:master Aug 25, 2019
@davidebeatrici
Copy link
Member

Thank you very much for your contribution!

@Krzmbrzl Krzmbrzl added this to the 1.3.1 milestone Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants