Makes it possible to move, minimize, unminimize the window while Bitcoin Core is initializing.
Fixes: any splash-screen related issue ever; at least #4915 #4644
Makes it possible to move, minimize, unminimize the window while
Bitcoin Core is initializing.
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4941_a49f11d9edf2f7dbce154ca370494a8f86e013d0/ 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.
Works for me. (linux qt4 and qt5)
works as intended on osx.
Just after merging I realize that this makes it possible to close (using the corner X) the splash screen. The same is possible for the window shown on shutdown. This is not harmful in itself, but does still create a way to close the window without a way to bring it back. Probably should be disallowed at some point.
21 | - QSplashScreen(pixmap, f) 22 | +SplashScreen::SplashScreen(Qt::WindowFlags f, bool isTestNet) : 23 | + QWidget(0, f), curAlignment(0) 24 | { 25 | - setAutoFillBackground(true); 26 | + //setAutoFillBackground(true);
We paint the entire background so it should not be necessary