1
0
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:
tux3 2015-10-23 15:21:47 +02:00
parent 1f61534841
commit b69f8425c6

View File

@ -370,7 +370,7 @@ void Nexus::updateWindowsArg(QWindow* closedWindow)
dockMenu->insertAction(dockLast, action); dockMenu->insertAction(dockLast, action);
} }
if (!dockLast->isSeparator()) if (dockLast && !dockLast->isSeparator())
dockMenu->insertSeparator(dockLast); dockMenu->insertSeparator(dockLast);
} }