gui: Use AutoConnection for WalletModel::unload signal

This commit is contained in:
João Barbosa 2019-01-18 00:23:19 +00:00
parent 391a27376b
commit cefb399e21

View file

@ -376,7 +376,7 @@ bool WalletModel::changePassphrase(const SecureString &oldPass, const SecureStri
static void NotifyUnload(WalletModel* walletModel) static void NotifyUnload(WalletModel* walletModel)
{ {
qDebug() << "NotifyUnload"; qDebug() << "NotifyUnload";
QMetaObject::invokeMethod(walletModel, "unload", Qt::QueuedConnection); QMetaObject::invokeMethod(walletModel, "unload");
} }
static void NotifyKeyStoreStatusChanged(WalletModel *walletmodel) static void NotifyKeyStoreStatusChanged(WalletModel *walletmodel)