@ -696,9 +696,6 @@ bool MainWindow::confirmTx(Tx tx, RecurringPaymentInfo* rpi) {
// Syncing warning
confirm.syncingWarning->setVisible(Settings::getInstance()->isSyncing());
// No peers warning
confirm.nopeersWarning->setVisible(Settings::getInstance()->getPeers() == 0);
// And FromAddress in the confirm dialog
confirm.sendFrom->setText(fnSplitAddressForWrap(tx.fromAddr));
confirm.sendFrom->setFont(fixedFont);
@ -158,14 +158,6 @@ void Settings::setSaveZtxs(bool save) {
QSettings().setValue("options/savesenttx", save);
}
void Settings::setPeers(int peers) {
_peerConnections = peers;
int Settings::getPeers() {
return _peerConnections;
//=================================
// Static Stuff
@ -56,7 +56,7 @@ public:
bool getSaveZtxs();
void setSaveZtxs(bool save);
bool getAllowCustomFees();
void setAllowCustomFees(bool allow);
@ -77,9 +77,6 @@ public:
void setZECPrice(double p) { zecPrice = p; }
double getZECPrice();
void setPeers(int peers);
int getPeers();
// Static stuff
static const QString txidStatusMessage;