aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2011-12-13 12:56:26 -0800
committerGavin Andresen <[email protected]>2011-12-13 12:56:26 -0800
commitb12fc3e11223557855bb2394e1097afbf0de0b79 (patch)
tree50d59133f31d2baff8abc22aa41bbdb444186afc /src/qt/clientmodel.cpp
parentEnable wordwrap for long message in passphrase dialog (diff)
parentFix status bar not displaying Alerts. (diff)
downloaddiscoin-b12fc3e11223557855bb2394e1097afbf0de0b79.tar.xz
discoin-b12fc3e11223557855bb2394e1097afbf0de0b79.zip
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 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;