diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-06-05 07:23:26 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-06-12 22:15:35 +0200 |
commit | d2e6dd6c993946b2d48f4cd8777704549af9ea78 (patch) | |
tree | e6ac2b5689d9b2d0237a8b5452b4cf2f8b12ae07 /src/qt/bitcoingui.h | |
parent | 12718ce767accf71652cee34ad2003f95deb6e55 (diff) |
merge toggleHidden() code into showNormalIfMinimized() to extend the functionality, but keep a simpler toggleHidden() for use in SLOT() macro
Diffstat (limited to 'src/qt/bitcoingui.h')
-rw-r--r-- | src/qt/bitcoingui.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 8a7f6e541b..3c82cbc968 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -169,9 +169,9 @@ private slots: /** Ask for pass phrase to unlock wallet temporarily */ void unlockWallet(); - /** Show window if hidden, unminimize when minimized */ - void showNormalIfMinimized(); - /** Hide window if visible, show if hidden */ + /** Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true */ + void showNormalIfMinimized(bool fToggleHidden = false); + /** simply calls showNormalIfMinimized(true) for use in SLOT() macro */ void toggleHidden(); }; |