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