gui: return EXIT_FAILURE on post-init fatal errors

This commit is contained in:
furszy
2023-06-08 12:16:23 -03:00
parent 3b2c61e819
commit 4927167f85
4 changed files with 12 additions and 12 deletions

View File

@@ -62,9 +62,6 @@ public:
/// Request core initialization
void requestInitialize();
/// Get process return value
int getReturnValue() const { return returnValue; }
/// Get window identifier of QMainWindow (BitcoinGUI)
WId getMainWinId() const;
@@ -104,7 +101,6 @@ private:
PaymentServer* paymentServer{nullptr};
WalletController* m_wallet_controller{nullptr};
#endif
int returnValue{0};
const PlatformStyle* platformStyle{nullptr};
std::unique_ptr<QWidget> shutdownWindow;
SplashScreen* m_splash = nullptr;