diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index c9bdb051e8..293e117352 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -123,6 +123,7 @@ BITCOIN_QT_H = \ qml/models/peerlistsortproxy.h \ qml/appmode.h \ qml/bitcoin.h \ + qml/guiconstants.h \ qml/imageprovider.h \ qml/util.h \ qt/addressbookpage.h \ @@ -140,7 +141,6 @@ BITCOIN_QT_H = \ qt/createwalletdialog.h \ qt/csvmodelwriter.h \ qt/editaddressdialog.h \ - qt/guiconstants.h \ qt/guiutil.h \ qt/initexecutor.h \ qt/intro.h \ diff --git a/src/qml/bitcoin.cpp b/src/qml/bitcoin.cpp index d87386cbd5..92f0fe5b5c 100644 --- a/src/qml/bitcoin.cpp +++ b/src/qml/bitcoin.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include @@ -72,7 +72,6 @@ void SetupUIArgs(ArgsManager& argsman) argsman.AddArg("-lang=", "Set language, for example \"de_DE\" (default: system locale)", ArgsManager::ALLOW_ANY, OptionsCategory::GUI); argsman.AddArg("-min", "Start minimized", ArgsManager::ALLOW_ANY, OptionsCategory::GUI); argsman.AddArg("-resetguisettings", "Reset all settings changed in the GUI", ArgsManager::ALLOW_ANY, OptionsCategory::GUI); - argsman.AddArg("-splash", strprintf("Show splash screen on startup (default: %u)", DEFAULT_SPLASHSCREEN), ArgsManager::ALLOW_ANY, OptionsCategory::GUI); } bool InitErrorMessageBox( diff --git a/src/qml/guiconstants.h b/src/qml/guiconstants.h new file mode 100644 index 0000000000..81e7c3ebc4 --- /dev/null +++ b/src/qml/guiconstants.h @@ -0,0 +1,15 @@ +// Copyright (c) 2011-2024 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#ifndef BITCOIN_QML_GUICONSTANTS_H +#define BITCOIN_QML_GUICONSTANTS_H + +#define QAPP_ORG_NAME "BitcoinCore" +#define QAPP_ORG_DOMAIN "bitcoincore.org" +#define QAPP_APP_NAME_DEFAULT "BitcoinCore-App" +#define QAPP_APP_NAME_TESTNET "BitcoinCore-App-testnet" +#define QAPP_APP_NAME_SIGNET "BitcoinCore-App-signet" +#define QAPP_APP_NAME_REGTEST "BitcoinCore-App-regtest" + +#endif // BITCOIN_QML_GUICONSTANTS_H