aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-08-02 13:53:03 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-08-23 09:10:31 +0200
commitdbc0a6aba2cf94aa1b167145a18e0b9c671aef5b (patch)
tree88a2ba112bc8c6fb3353327c5579c830f7868ff4 /src/qt/walletview.h
parente62f8d72f349aec0865268c089ae99fedd314af1 (diff)
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
Diffstat (limited to 'src/qt/walletview.h')
-rw-r--r--src/qt/walletview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/walletview.h b/src/qt/walletview.h
index 97e8f93df9..ce4e051098 100644
--- a/src/qt/walletview.h
+++ b/src/qt/walletview.h
@@ -100,6 +100,10 @@ public slots:
void unlockWallet();
void setEncryptionStatus();
+
+signals:
+ /** Signal that we want to show the main window */
+ void showNormalIfMinimized();
};
#endif // WALLETVIEW_H