mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix qTox on OSX, closes #2447
This commit is contained in:
parent
1f61534841
commit
b69f8425c6
|
@ -370,7 +370,7 @@ void Nexus::updateWindowsArg(QWindow* closedWindow)
|
|||
dockMenu->insertAction(dockLast, action);
|
||||
}
|
||||
|
||||
if (!dockLast->isSeparator())
|
||||
if (dockLast && !dockLast->isSeparator())
|
||||
dockMenu->insertSeparator(dockLast);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user