mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-24 11:17:15 +01:00
WalletManager: fix compilation warnings (unused args, members order)
This commit is contained in:
parent
c286c7e5a8
commit
a9cb42e2a4
@ -88,8 +88,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Monero::Wallet * m_wallet;
|
|
||||||
WalletManager * m_mgr;
|
WalletManager * m_mgr;
|
||||||
|
Monero::Wallet * m_wallet;
|
||||||
};
|
};
|
||||||
|
|
||||||
WalletManager * WalletManager::m_instance = nullptr;
|
WalletManager * WalletManager::m_instance = nullptr;
|
||||||
@ -281,13 +281,13 @@ QString WalletManager::errorString() const
|
|||||||
return tr("Unknown error");
|
return tr("Unknown error");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WalletManager::moveWallet(const QString &src, const QString &dst)
|
bool WalletManager::moveWallet(const QString &, const QString &)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QString WalletManager::walletLanguage(const QString &locale)
|
QString WalletManager::walletLanguage(const QString &)
|
||||||
{
|
{
|
||||||
return "English";
|
return "English";
|
||||||
}
|
}
|
||||||
@ -534,7 +534,7 @@ WalletManager::WalletManager(QObject *parent) : QObject(parent)
|
|||||||
m_pimpl = Monero::WalletManagerFactory::getWalletManager();
|
m_pimpl = Monero::WalletManagerFactory::getWalletManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WalletManager::onWalletPassphraseNeeded(Monero::Wallet * wallet)
|
void WalletManager::onWalletPassphraseNeeded(Monero::Wallet *)
|
||||||
{
|
{
|
||||||
m_mutex_pass.lock();
|
m_mutex_pass.lock();
|
||||||
m_passphrase_abort = false;
|
m_passphrase_abort = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user