[Qt] minor changes in splashscreen.cpp #4959

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:splashscreen changing 1 files +1 −3
  1. Diapolo commented at 1:50 PM on September 22, 2014: none
    • guard an unused variable with Q_UNUSED() macro
    • remove a commented out line of code
  2. laanwj commented at 2:00 PM on September 22, 2014: member

    I disagree with this. The window has a minimize button. If you want to minimize, just hit minimize. Hitting close should be reserved for "emergency shutdown" (or "cancel startup") cases, but we don't support that at this point.

  3. [Qt] minor changes in splashscreen.cpp
    - guard an unused variable with Q_UNUSED() macro
    - remove a commented out line of code
    bb26e2c896
  4. Diapolo renamed this:
    [Qt] make splashscreen minimize when closing window
    [Qt] minor changes in splashscreen.cpp
    on Sep 23, 2014
  5. Diapolo commented at 7:57 AM on September 23, 2014: none

    @laanwj Understood and changed to a minor uncontroversial pull.

  6. BitcoinPullTester commented at 8:11 AM on September 23, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4959_bb26e2c896a92b7d9376e2a903ebc9a1825b92d8/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  7. laanwj commented at 8:37 AM on September 23, 2014: member

    Thanks. utACK.

    I've tried it and you can actually put a StartShutdown() in the CloseEvent of the splash screen and it appears to work. This is akin to doing Ctrl-C during initialization in bitcoind.

  8. Diapolo commented at 8:49 AM on September 23, 2014: none

    I also thought about adding a StartShutdown() to the close button, but that will perhaps also confuse users... not sure about that yet.

  9. laanwj commented at 8:56 AM on September 23, 2014: member

    I think it's useful if you accidentally start the program to be able to stop it sooner. It's clear to the user what happens as the shutdown window appears. It's not potentially harmful either - the initialization is cancelled, but only in the next safe spot.

  10. laanwj added the label GUI on Sep 23, 2014
  11. laanwj merged this on Sep 25, 2014
  12. laanwj closed this on Sep 25, 2014

  13. laanwj referenced this in commit 375cb4c253 on Sep 25, 2014
  14. Diapolo deleted the branch on Sep 25, 2014
  15. MarcoFalke locked this on Sep 8, 2021

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:15 UTC

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