WalletManager: displayAmount should be static

This commit is contained in:
xiphon
2020-07-14 15:44:13 +00:00
parent b7b1221221
commit 2fd3974194
4 changed files with 7 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ public:
Q_INVOKABLE QString errorString() const;
//! since we can't call static method from QML, move it to this class
Q_INVOKABLE QString displayAmount(quint64 amount) const;
Q_INVOKABLE static QString displayAmount(quint64 amount);
Q_INVOKABLE quint64 amountFromString(const QString &amount) const;
Q_INVOKABLE quint64 amountFromDouble(double amount) const;
Q_INVOKABLE quint64 maximumAllowedAmount() const;