qt:Show the entire Window when double clicking on taskbar

GitHub-Pull: #12999
Rebased-From: 67bf2aa
This commit is contained in:
Chun Kuan Lee 2018-04-17 00:19:13 +08:00 committed by fanquake
parent e055bc0fdf
commit 1720eb3018

View File

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