aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-12-13 14:00:21 -0500
committerMatt Corallo <matt@bluematt.me>2011-12-13 15:29:17 -0500
commit7ca47cece7854a4efb4a8dcb68b93edbde1a76fb (patch)
tree50d59133f31d2baff8abc22aa41bbdb444186afc /src/qt/clientmodel.cpp
parent857aa73783a991e6d750c99988821585c1864e21 (diff)
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 2ed3ce51df..5a0b4aa83c 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;