diff options
| author | João Barbosa <[email protected]> | 2018-06-24 16:18:22 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-08-21 09:43:54 +0100 |
| commit | f78558f1e39198779bdb17e2b0e256fb99ad4b28 (patch) | |
| tree | e70cf07bb8f64df2f4b65a4999b8bafa435d9d51 /src/qt/transactiontablemodel.cpp | |
| parent | Merge #13968: [wallet] couple of walletcreatefundedpsbt fixes (diff) | |
| download | discoin-f78558f1e39198779bdb17e2b0e256fb99ad4b28.tar.xz discoin-f78558f1e39198779bdb17e2b0e256fb99ad4b28.zip | |
qt: Use new Qt5 connect syntax
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
| -rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index e100cac53..e379b7055 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -226,7 +226,7 @@ TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle columns << QString() << QString() << tr("Date") << tr("Type") << tr("Label") << BitcoinUnits::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit()); priv->refreshWallet(walletModel->wallet()); - connect(walletModel->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit())); + connect(walletModel->getOptionsModel(), &OptionsModel::displayUnitChanged, this, &TransactionTableModel::updateDisplayUnit); subscribeToCoreSignals(); } |