From a9cb42e2a4165dd9e98e009a9036ee67de90ffd6 Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 28 May 2019 15:55:10 +0000 Subject: [PATCH] WalletManager: fix compilation warnings (unused args, members order) --- src/libwalletqt/WalletManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libwalletqt/WalletManager.cpp b/src/libwalletqt/WalletManager.cpp index 141ae97a..0942b2e1 100644 --- a/src/libwalletqt/WalletManager.cpp +++ b/src/libwalletqt/WalletManager.cpp @@ -88,8 +88,8 @@ public: } private: - Monero::Wallet * m_wallet; WalletManager * m_mgr; + Monero::Wallet * m_wallet; }; WalletManager * WalletManager::m_instance = nullptr; @@ -281,13 +281,13 @@ QString WalletManager::errorString() const return tr("Unknown error"); } -bool WalletManager::moveWallet(const QString &src, const QString &dst) +bool WalletManager::moveWallet(const QString &, const QString &) { return true; } -QString WalletManager::walletLanguage(const QString &locale) +QString WalletManager::walletLanguage(const QString &) { return "English"; } @@ -534,7 +534,7 @@ WalletManager::WalletManager(QObject *parent) : QObject(parent) m_pimpl = Monero::WalletManagerFactory::getWalletManager(); } -void WalletManager::onWalletPassphraseNeeded(Monero::Wallet * wallet) +void WalletManager::onWalletPassphraseNeeded(Monero::Wallet *) { m_mutex_pass.lock(); m_passphrase_abort = false;