diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2018-12-05 22:51:49 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-01-25 14:50:30 +0200 |
commit | 593ba696fb32da558091ac02ad87c4893db4ce97 (patch) | |
tree | efd32881ae4f2449f00e15e205196226d871c8bd /src/qt/overviewpage.cpp | |
parent | bfd7e5409720445b8439de20a5695b220f79f53d (diff) |
Add warning messages to the debug window
Diffstat (limited to 'src/qt/overviewpage.cpp')
-rw-r--r-- | src/qt/overviewpage.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index bec79335e7..c743c4f862 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -204,9 +204,8 @@ void OverviewPage::updateWatchOnlyLabels(bool showWatchOnly) void OverviewPage::setClientModel(ClientModel *model) { this->clientModel = model; - if(model) - { - // Show warning if this is a prerelease version + if (model) { + // Show warning, for example if this is a prerelease version connect(model, &ClientModel::alertsChanged, this, &OverviewPage::updateAlerts); updateAlerts(model->getStatusBarWarnings()); } |