Browse Source

qt:Show the entire Window when double clicking on taskbar

GitHub-Pull: #12999
Rebased-From: 67bf2aa
pull/3/head
Chun Kuan Lee 5 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