From 67bf2aa68eaa4502c8c11541e3f39b0372e95bf8 Mon Sep 17 00:00:00 2001 From: Chun Kuan Lee Date: Tue, 17 Apr 2018 00:19:13 +0800 Subject: qt:Show the entire Window when double clicking on taskbar --- src/qt/bitcoingui.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bfa8844a09..aed5374a7d 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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 -- cgit v1.2.3