The part of the GUI that this setting is relevant for does not exist in a `--disable-wallet` build. 

![wallet_prefs](https://user-images.githubusercontent.com/863730/70331435-72547300-180d-11ea-842d-82f8529ae982.png)
{
    mapper->submit();
    accept();
    updateDefaultProxyNets();
}
void OptionsDialog::on_cancelButton_clicked()
{
    reject();
}
void OptionsDialog::on_hideTrayIcon_stateChanged(int fState)
{
    if(fState)
    {
        ui->minimizeToTray->setChecked(false);
        ui->minimizeToTray->setEnabled(false);
    }
    else
    {
        ui->minimizeToTray->setEnabled(true);
    }
}
void OptionsDialog::togglePruneWarning(bool enabled)