It would be cool if there was an option in Bitcoin Core for disabling the system tray entirely.

{
    mapper->submit();
    accept();
    updateDefaultProxyNets();
}
void OptionsDialog::on_cancelButton_clicked()
{
    reject();
}
void OptionsDialog::showRestartWarning(bool fPersistent)
{
    ui->statusLabel->setStyleSheet("QLabel { color: red; }");
    if(fPersistent)
    {
        ui->statusLabel->setText(tr("Client restart required to activate changes."));
    }
    else
    {
        ui->statusLabel->setText(tr("This change would require a client restart."));
        
        
        QTimer::singleShot(10000, this, SLOT(clearStatusLabel()));
    }
}
void OptionsDialog::clearStatusLabel()