mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
23da95a983
commit
08f368da43
|
@ -81,9 +81,11 @@
|
|||
bool toxActivateEventHandler(const QByteArray&)
|
||||
{
|
||||
Widget* widget = Nexus::getDesktopGUI();
|
||||
if (!widget)
|
||||
if (!widget) {
|
||||
return true;
|
||||
if (!widget->isActiveWindow())
|
||||
}
|
||||
|
||||
qDebug() << "Handling [activate] event from other instance";
|
||||
widget->forceShow();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user