mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-12 02:29:03 -04:00
Merge pull request #855 from MP2E/master
UI: Fix segfault when no system tray exists
This commit is contained in:
@@ -2930,6 +2930,7 @@ void OBSBasic::changeEvent(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowStateChange &&
|
||||
isMinimized() &&
|
||||
trayIcon &&
|
||||
trayIcon->isVisible() &&
|
||||
sysTrayMinimizeToTray()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user