#74, #42 - Show a warning if there are no peers/internet is off

This commit is contained in:
adityapk
2018-12-13 15:39:38 -08:00
parent 8e91eef4f4
commit 077b1896a8
5 changed files with 44 additions and 5 deletions

View File

@@ -134,7 +134,13 @@ void Settings::setSaveZtxs(bool save) {
QSettings().setValue("options/savesenttx", save);
}
void Settings::setPeers(int peers) {
_peerConnections = peers;
}
int Settings::getPeers() {
return _peerConnections;
}
//=================================
// Static Stuff
//=================================