Skip to content

Commit

Permalink
Fixed dangling pointer for masternodeListPage. Tweaked UI for watchdo…
Browse files Browse the repository at this point in the history
…g_expired
  • Loading branch information
durkmurder committed Jul 26, 2018
1 parent 64b6f01 commit c2538f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,9 @@ std::string CMasternode::StateToString(int nStateIn)
case MASTERNODE_EXPIRED: return "EXPIRED";
case MASTERNODE_OUTPOINT_SPENT: return "OUTPOINT_SPENT";
case MASTERNODE_UPDATE_REQUIRED: return "UPDATE_REQUIRED";
case MASTERNODE_WATCHDOG_EXPIRED: return "WATCHDOG_EXPIRED";
//case MASTERNODE_WATCHDOG_EXPIRED: return "WATCHDOG_EXPIRED";
case MASTERNODE_NEW_START_REQUIRED: return "NEW_START_REQUIRED";
case MASTERNODE_WATCHDOG_EXPIRED: return "ENABLED";
case MASTERNODE_POSE_BAN: return "POSE_BAN";
default: return "UNKNOWN";
}
Expand Down
1 change: 0 additions & 1 deletion src/qt/walletview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ void WalletView::setWalletModel(WalletModel *_walletModel)
overviewPage->setWalletModel(_walletModel);
receiveCoinsPage->setModel(_walletModel);
sendCoinsPage->setModel(_walletModel);
masternodeListPage->setWalletModel(_walletModel);
tposPage->setWalletModel(_walletModel);
QSettings settings;
if (settings.value("fShowMasternodesTab").toBool()) {
Expand Down

0 comments on commit c2538f2

Please sign in to comment.