Report when the GUI is connected to a daemon with mismatched version

This will cause various errors confusing to the user, as they stem
for the daemon returning replies with missing information, etc.
This commit is contained in:
moneromooo.monero
2016-11-07 12:02:27 +00:00
parent c9bb2f5718
commit 689f0415e7
5 changed files with 49 additions and 13 deletions

View File

@@ -86,9 +86,9 @@ Wallet::Status Wallet::status() const
return static_cast<Status>(m_walletImpl->status());
}
bool Wallet::connected() const
Wallet::ConnectionStatus Wallet::connected() const
{
return m_walletImpl->connected();
return static_cast<ConnectionStatus>(m_walletImpl->connected());
}
bool Wallet::synchronized() const