libwalletqt: cleanup unused code

This commit is contained in:
tobtoht 2022-03-11 16:05:02 +01:00
parent efda517503
commit 3e2de76f7d
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -187,21 +187,6 @@ QString Wallet::keysPath() const
return QDir::toNativeSeparators(QString::fromStdString(m_walletImpl->keysFilename()));; return QDir::toNativeSeparators(QString::fromStdString(m_walletImpl->keysFilename()));;
} }
//void Wallet::storeAsync(const QJSValue &callback, const QString &path /* = "" */)
//{
// const auto future = m_scheduler.run(
// [this, path] {
// QMutexLocker locker(&m_asyncMutex);
//
// return QJSValueList({m_walletImpl->store(path.toStdString())});
// },
// callback);
// if (!future.first)
// {
// QJSValue(callback).call(QJSValueList({false}));
// }
//}
void Wallet::store(const QString &path) void Wallet::store(const QString &path)
{ {
m_walletImpl->store(path.toStdString()); m_walletImpl->store(path.toStdString());