From dbc0a6aba2cf94aa1b167145a18e0b9c671aef5b Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Fri, 2 Aug 2013 13:53:03 +0200 Subject: Bitcoin-Qt: tweak Qt walletXXX.cpp/h code WalletView: - add new signal showNormalIfMinimized() - emit the new signal in handleURI() to fix a bug, preventing the main window to show up when using bitcoin: URIs WalletStack: - connect the showNormalIfMinimized() signal from WalletView with the showNormalIfMinimized() slot in BitcoinGUI - rework setCurrentWallet() to return a bool - add check for valid walletModel in addWallet() - add missing gui attribute initialisation in constructor WalletFrame: - remove unused or unneded class attributes gui and clientModel - add a check for valid clientModel in setClientModel() General: - small code formatting changes --- src/qt/walletframe.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/qt/walletframe.h') diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index d5aeb6d859..eaae053ccd 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -35,8 +35,6 @@ public: void showOutOfSyncWarning(bool fShow); private: - BitcoinGUI *gui; - ClientModel *clientModel; WalletStack *walletStack; public slots: -- cgit v1.2.3