remove GetBoolArg() fDefault parameter defaulting to false
- explicitly set the default of all GetBoolArg() calls - rework getarg_test.cpp and util_tests.cpp to cover this change - some indentation fixes - move macdockiconhandler.h include in bitcoin.cpp to the "our headers" section
This commit is contained in:
@@ -26,7 +26,7 @@ SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
|
||||
|
||||
// load the bitmap for writing some text over it
|
||||
QPixmap newPixmap;
|
||||
if(GetBoolArg("-testnet")) {
|
||||
if(GetBoolArg("-testnet", false)) {
|
||||
newPixmap = QPixmap(":/images/splash_testnet");
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user