From 3e2de76f7d3c719755e175672cc53e6e0513bd10 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 11 Mar 2022 16:05:02 +0100 Subject: [PATCH] libwalletqt: cleanup unused code --- src/libwalletqt/Wallet.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 0a125b0..07c250d 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());