- guard an unused variable with Q_UNUSED() macro
- remove a commented out line of code
[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-
Diapolo commented at 1:50 PM on September 22, 2014: none
-
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.
-
bb26e2c896
[Qt] minor changes in splashscreen.cpp
- guard an unused variable with Q_UNUSED() macro - remove a commented out line of code
- Diapolo renamed this:
[Qt] make splashscreen minimize when closing window
[Qt] minor changes in splashscreen.cpp
on Sep 23, 2014 -
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.
-
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.
-
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.
-
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.
- laanwj added the label GUI on Sep 23, 2014
- laanwj merged this on Sep 25, 2014
- laanwj closed this on Sep 25, 2014
- laanwj referenced this in commit 375cb4c253 on Sep 25, 2014
- Diapolo deleted the branch on Sep 25, 2014
- MarcoFalke locked this on Sep 8, 2021