GUI: merge toggleHidden() code into showNormalIfMinimized() #1420

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:extend_showNormalIfMinimized changing 2 files +25 −31
  1. Diapolo commented at 5:29 AM on June 5, 2012: none
    • to extend the functionality, but keep a simpler toggleHidden() for use in SLOT() macro

    As toggleHidden() has some functionality in, that is good for showNormalIfMinimized() I moved the code to it.

    I was not able to completely remove toggleHidden(), as SLOT(showNormalIfMinimized(true)) is not allowed. If someone knows how to use showNormalIfMinimized(true) in SLOT I can update this.

  2. laanwj commented at 5:58 PM on June 12, 2012: member

    This means you can also remove the following from handleURI:

    if(!isActiveWindow())
        activateWindow();
    

    "Binding" a parameter, as it is called, to a SIGNAL or SLOT is not possible with Qt, so we'll need to keep toggleHidden around.

  3. merge toggleHidden() code into showNormalIfMinimized() to extend the functionality, but keep a simpler toggleHidden() for use in SLOT() macro d2e6dd6c99
  4. Diapolo commented at 8:17 PM on June 12, 2012: none

    Updated, and removed this from handleURI:

    <pre> if(!isActiveWindow()) activateWindow(); </pre>

  5. laanwj commented at 5:49 AM on June 14, 2012: member

    ACK

  6. laanwj referenced this in commit 7a98f19fb6 on Jun 14, 2012
  7. laanwj merged this on Jun 14, 2012
  8. laanwj closed this on Jun 14, 2012

  9. coblee referenced this in commit c623f8de26 on Jul 17, 2012
  10. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me