Remove redundant initializations from the constructor

This commit is contained in:
practicalswift 2018-04-11 11:56:44 +02:00
parent f131872653
commit 1e7813e9bb
2 changed files with 2 additions and 7 deletions

View file

@ -159,7 +159,7 @@ public:
};
AddressTableModel::AddressTableModel(WalletModel *parent) :
QAbstractTableModel(parent),walletModel(parent),priv(0)
QAbstractTableModel(parent), walletModel(parent)
{
columns << tr("Label") << tr("Address");
priv = new AddressTablePriv(this);

View file

@ -455,12 +455,7 @@ RPCConsole::RPCConsole(interfaces::Node& node, const PlatformStyle *_platformSty
QWidget(parent),
m_node(node),
ui(new Ui::RPCConsole),
clientModel(0),
historyPtr(0),
platformStyle(_platformStyle),
peersTableContextMenu(0),
banTableContextMenu(0),
consoleFontSize(0)
platformStyle(_platformStyle)
{
ui->setupUi(this);
QSettings settings;