Browse Source

qt:Show the entire Window when double clicking on taskbar

GitHub-Pull: #12999
Rebased-From: 67bf2aa
0.16
Chun Kuan Lee 7 years ago committed by fanquake
parent
commit
1720eb3018
  1. 5
      src/qt/bitcoingui.cpp

5
src/qt/bitcoingui.cpp

@ -945,6 +945,11 @@ void BitcoinGUI::changeEvent(QEvent *e) @@ -945,6 +945,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

Loading…
Cancel
Save