qt:Show the entire Window when double clicking on taskbar

This commit is contained in:
Chun Kuan Lee 2018-04-17 00:19:13 +08:00
parent 0d6992168c
commit 67bf2aa68e
No known key found for this signature in database
GPG Key ID: 968E9A9E5F3C75D9

View File

@ -968,6 +968,11 @@ void BitcoinGUI::changeEvent(QEvent *e)
QTimer::singleShot(0, this, SLOT(hide()));
e->ignore();
}
else if((wsevt->oldState() & Qt::WindowMinimized) && !isMinimized())
{
QTimer::singleShot(0, this, SLOT(show()));
e->ignore();
}
}
}
#endif