mirror of
https://github.com/monero-project/monero-gui
synced 2025-03-30 03:39:05 +02:00
Merge pull request #2180
a9cb42e WalletManager: fix compilation warnings (unused args, members order) (xiphon)
This commit is contained in:
commit
477bce6117
@ -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";
|
||||||
}
|
}
|
||||||
@ -543,7 +543,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…
x
Reference in New Issue
Block a user