1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
tux3 2015-12-15 19:31:26 +01:00
parent ab8220c2cf
commit 10673640ea
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -91,8 +91,11 @@
bool toxActivateEventHandler(const QByteArray&)
{
if (!Widget::getInstance()->isActiveWindow())
Widget::getInstance()->forceShow();
Widget* widget = Nexus::getDesktopGUI();
if (!widget)
return true;
if (!widget->isActiveWindow())
widget->forceShow();
return true;
}