Merge pull request #855 from MP2E/master

UI: Fix segfault when no system tray exists
master
Jim 2017-03-25 08:53:02 -07:00 committed by GitHub
commit 3a3015aecd
1 changed files with 1 additions and 0 deletions

View File

@ -2930,6 +2930,7 @@ void OBSBasic::changeEvent(QEvent *event)
{
if (event->type() == QEvent::WindowStateChange &&
isMinimized() &&
trayIcon &&
trayIcon->isVisible() &&
sysTrayMinimizeToTray()) {