diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-03-24 18:48:18 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-04 09:35:01 +0200 |
commit | 98e61758744ed34e8b7f59b37edb6d09b33d5517 (patch) | |
tree | 0eed63fc85d0dbcc851a1fbce8cdcb16b3b5b72c /src/qtui.h | |
parent | 7e7bcce2d992c6fd53fdc4d9eb40f21c951d5347 (diff) |
Update UI through async calls MainFrameRepaint and AddressBookRepaint instead of a timer.
- Overall, this is better design
- This fixes problems with the address book UI not updating when the address book is changed through RPC
- Move Statusbar change detection responsibility to ClientModel
Diffstat (limited to 'src/qtui.h')
-rw-r--r-- | src/qtui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtui.h b/src/qtui.h index 9791ba544d..70952da70e 100644 --- a/src/qtui.h +++ b/src/qtui.h @@ -44,6 +44,7 @@ extern void ThreadSafeHandleURL(const std::string& strURL); extern void CalledSetStatusBar(const std::string& strText, int nField); extern void UIThreadCall(boost::function0<void> fn); extern void MainFrameRepaint(); +extern void AddressBookRepaint(); extern void InitMessage(const std::string &message); extern std::string _(const char* psz); |