From: tobtoht Date: Fri, 11 Mar 2022 15:05:02 +0000 (+0100) Subject: libwalletqt: cleanup unused code X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=3e2de76f7d3c719755e175672cc53e6e0513bd10;p=gamesguru%2Ffeather.git libwalletqt: cleanup unused code --- diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 0a125b04..07c250da 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -187,21 +187,6 @@ QString Wallet::keysPath() const 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) { m_walletImpl->store(path.toStdString());