aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-12-13 12:56:26 -0800
committerGavin Andresen <gavinandresen@gmail.com>2011-12-13 12:56:26 -0800
commitb12fc3e11223557855bb2394e1097afbf0de0b79 (patch)
tree50d59133f31d2baff8abc22aa41bbdb444186afc /src/qt/clientmodel.cpp
parent857aa73783a991e6d750c99988821585c1864e21 (diff)
parent7ca47cece7854a4efb4a8dcb68b93edbde1a76fb (diff)
Merge pull request #700 from TheBlueMatt/qtalertfixv0.5.1rc2v0.5.1
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;