mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 03:12:05 +02:00
WalletManager: remove unused functions
This commit is contained in:
parent
68c7cf7276
commit
cbbd898cd5
@ -281,17 +281,6 @@ QString WalletManager::errorString() const
|
|||||||
return tr("Unknown error");
|
return tr("Unknown error");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WalletManager::moveWallet(const QString &, const QString &)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
QString WalletManager::walletLanguage(const QString &)
|
|
||||||
{
|
|
||||||
return "English";
|
|
||||||
}
|
|
||||||
|
|
||||||
quint64 WalletManager::maximumAllowedAmount() const
|
quint64 WalletManager::maximumAllowedAmount() const
|
||||||
{
|
{
|
||||||
return Monero::Wallet::maximumAllowedAmount();
|
return Monero::Wallet::maximumAllowedAmount();
|
||||||
@ -302,8 +291,6 @@ QString WalletManager::maximumAllowedAmountAsSting() const
|
|||||||
return WalletManager::displayAmount(WalletManager::maximumAllowedAmount());
|
return WalletManager::displayAmount(WalletManager::maximumAllowedAmount());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QString WalletManager::displayAmount(quint64 amount) const
|
QString WalletManager::displayAmount(quint64 amount) const
|
||||||
{
|
{
|
||||||
return QString::fromStdString(Monero::Wallet::displayAmount(amount));
|
return QString::fromStdString(Monero::Wallet::displayAmount(amount));
|
||||||
|
@ -127,14 +127,6 @@ public:
|
|||||||
//! returns error description in human language
|
//! returns error description in human language
|
||||||
Q_INVOKABLE QString errorString() const;
|
Q_INVOKABLE QString errorString() const;
|
||||||
|
|
||||||
|
|
||||||
// wizard: both "create" and "recovery" paths.
|
|
||||||
// TODO: probably move it to "Wallet" interface
|
|
||||||
Q_INVOKABLE bool moveWallet(const QString &src, const QString &dst);
|
|
||||||
//! returns libwallet language name for given locale
|
|
||||||
Q_INVOKABLE QString walletLanguage(const QString &locale);
|
|
||||||
|
|
||||||
|
|
||||||
//! since we can't call static method from QML, move it to this class
|
//! since we can't call static method from QML, move it to this class
|
||||||
Q_INVOKABLE QString displayAmount(quint64 amount) const;
|
Q_INVOKABLE QString displayAmount(quint64 amount) const;
|
||||||
Q_INVOKABLE quint64 amountFromString(const QString &amount) const;
|
Q_INVOKABLE quint64 amountFromString(const QString &amount) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user