aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2011-12-13 14:00:21 -0500
committerMatt Corallo <[email protected]>2011-12-13 15:29:17 -0500
commit7ca47cece7854a4efb4a8dcb68b93edbde1a76fb (patch)
tree50d59133f31d2baff8abc22aa41bbdb444186afc /src/qt/clientmodel.cpp
parentEnable wordwrap for long message in passphrase dialog (diff)
downloaddiscoin-7ca47cece7854a4efb4a8dcb68b93edbde1a76fb.tar.xz
discoin-7ca47cece7854a4efb4a8dcb68b93edbde1a76fb.zip
Fix status bar not displaying Alerts.
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 2ed3ce51d..5a0b4aa83 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -72,6 +72,11 @@ int ClientModel::getNumBlocksOfPeers() const
return GetNumBlocksOfPeers();
}
+QString ClientModel::getStatusBarWarnings() const
+{
+ return QString::fromStdString(GetWarnings("statusbar"));
+}
+
OptionsModel *ClientModel::getOptionsModel()
{
return optionsModel;