UI: Fix segfault when no system tray exists
This commit is contained in:
parent
a6db485452
commit
c47cb25434
@ -2918,6 +2918,7 @@ void OBSBasic::changeEvent(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowStateChange &&
|
||||
isMinimized() &&
|
||||
trayIcon &&
|
||||
trayIcon->isVisible() &&
|
||||
sysTrayMinimizeToTray()) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user