diff options
| author | Chun Kuan Lee <[email protected]> | 2018-04-17 00:19:13 +0800 |
|---|---|---|
| committer | Chun Kuan Lee <[email protected]> | 2018-04-17 02:38:10 +0800 |
| commit | 67bf2aa68eaa4502c8c11541e3f39b0372e95bf8 (patch) | |
| tree | 18ba50f1b8418258945a5790199843b5b6276fa2 /src/qt/bitcoingui.cpp | |
| parent | Merge #12993: tests: Remove compatibility code not needed now when we're on P... (diff) | |
| download | discoin-67bf2aa68eaa4502c8c11541e3f39b0372e95bf8.tar.xz discoin-67bf2aa68eaa4502c8c11541e3f39b0372e95bf8.zip | |
qt:Show the entire Window when double clicking on taskbar
Diffstat (limited to 'src/qt/bitcoingui.cpp')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bfa8844a0..aed5374a7 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 |