1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: Not quit on close if this setting is enabled

Fix #4949
This commit is contained in:
Diadlo 2018-02-22 00:23:55 +03:00
parent aa99a86ccc
commit e73dc10c7f
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -105,6 +105,8 @@ void Nexus::start()
qRegisterMetaType<ToxId>("ToxId");
qRegisterMetaType<GroupInvite>("GroupInvite");
qApp->setQuitOnLastWindowClosed(false);
#ifdef Q_OS_MAC
// TODO: still needed?
globalMenuBar = new QMenuBar(0);