]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
libwalletqt: cleanup unused code
authortobtoht <thotbot@protonmail.com>
Fri, 11 Mar 2022 15:05:02 +0000 (16:05 +0100)
committertobtoht <thotbot@protonmail.com>
Fri, 11 Mar 2022 15:05:02 +0000 (16:05 +0100)
src/libwalletqt/Wallet.cpp

index 0a125b0494b6e23abadf63e2a994a863f1b1ba87..07c250da191f11ced30f666829ba606c94aecdc4 100644 (file)
@@ -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());