Merge pull request #855 from MP2E/master
UI: Fix segfault when no system tray exists
This commit is contained in:
commit
3a3015aecd
1 changed files with 1 additions and 0 deletions
|
|
@ -2930,6 +2930,7 @@ void OBSBasic::changeEvent(QEvent *event)
|
|||
{
|
||||
if (event->type() == QEvent::WindowStateChange &&
|
||||
isMinimized() &&
|
||||
trayIcon &&
|
||||
trayIcon->isVisible() &&
|
||||
sysTrayMinimizeToTray()) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue