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

#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include "main.h" 
#include "netbase.h"
#include "txdb.h" 
#ifdef ENABLE_WALLET
#include "wallet/wallet.h" 
#endif
#include <boost/thread.hpp>
#include <QDataWidgetMapper>
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
#include <QTimer>
OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :