mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #2408
This commit is contained in:
parent
ab8220c2cf
commit
10673640ea
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user