mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Wallet: drop unused paymentId property
This commit is contained in:
parent
02ae14fd6b
commit
51ece5fd00
2 changed files with 0 additions and 17 deletions
|
@ -746,16 +746,6 @@ QString Wallet::integratedAddress(const QString &paymentId) const
|
||||||
return QString::fromStdString(m_walletImpl->integratedAddress(paymentId.toStdString()));
|
return QString::fromStdString(m_walletImpl->integratedAddress(paymentId.toStdString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
QString Wallet::paymentId() const
|
|
||||||
{
|
|
||||||
return m_paymentId;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Wallet::setPaymentId(const QString &paymentId)
|
|
||||||
{
|
|
||||||
m_paymentId = paymentId;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString Wallet::getCacheAttribute(const QString &key) const {
|
QString Wallet::getCacheAttribute(const QString &key) const {
|
||||||
return QString::fromStdString(m_walletImpl->getCacheAttribute(key.toStdString()));
|
return QString::fromStdString(m_walletImpl->getCacheAttribute(key.toStdString()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,6 @@ class Wallet : public QObject, public PassprasePrompter
|
||||||
Q_PROPERTY(bool synchronized READ synchronized)
|
Q_PROPERTY(bool synchronized READ synchronized)
|
||||||
Q_PROPERTY(QString errorString READ errorString)
|
Q_PROPERTY(QString errorString READ errorString)
|
||||||
Q_PROPERTY(TransactionHistory * history READ history)
|
Q_PROPERTY(TransactionHistory * history READ history)
|
||||||
Q_PROPERTY(QString paymentId READ paymentId WRITE setPaymentId)
|
|
||||||
Q_PROPERTY(TransactionHistorySortFilterModel * historyModel READ historyModel NOTIFY historyModelChanged)
|
Q_PROPERTY(TransactionHistorySortFilterModel * historyModel READ historyModel NOTIFY historyModelChanged)
|
||||||
Q_PROPERTY(QString path READ path)
|
Q_PROPERTY(QString path READ path)
|
||||||
Q_PROPERTY(AddressBookModel * addressBookModel READ addressBookModel)
|
Q_PROPERTY(AddressBookModel * addressBookModel READ addressBookModel)
|
||||||
|
@ -298,11 +297,6 @@ public:
|
||||||
//! Parse URI
|
//! Parse URI
|
||||||
Q_INVOKABLE bool parse_uri(const QString &uri, QString &address, QString &payment_id, uint64_t &amount, QString &tx_description, QString &recipient_name, QVector<QString> &unknown_parameters, QString &error);
|
Q_INVOKABLE bool parse_uri(const QString &uri, QString &address, QString &payment_id, uint64_t &amount, QString &tx_description, QString &recipient_name, QVector<QString> &unknown_parameters, QString &error);
|
||||||
|
|
||||||
//! saved payment id
|
|
||||||
QString paymentId() const;
|
|
||||||
|
|
||||||
void setPaymentId(const QString &paymentId);
|
|
||||||
|
|
||||||
//! Namespace your cacheAttribute keys to avoid collisions
|
//! Namespace your cacheAttribute keys to avoid collisions
|
||||||
Q_INVOKABLE bool setCacheAttribute(const QString &key, const QString &val);
|
Q_INVOKABLE bool setCacheAttribute(const QString &key, const QString &val);
|
||||||
Q_INVOKABLE QString getCacheAttribute(const QString &key) const;
|
Q_INVOKABLE QString getCacheAttribute(const QString &key) const;
|
||||||
|
@ -443,7 +437,6 @@ private:
|
||||||
// Used for UI history view
|
// Used for UI history view
|
||||||
mutable TransactionHistoryModel * m_historyModel;
|
mutable TransactionHistoryModel * m_historyModel;
|
||||||
mutable TransactionHistorySortFilterModel * m_historySortFilterModel;
|
mutable TransactionHistorySortFilterModel * m_historySortFilterModel;
|
||||||
QString m_paymentId;
|
|
||||||
AddressBook * m_addressBook;
|
AddressBook * m_addressBook;
|
||||||
mutable AddressBookModel * m_addressBookModel;
|
mutable AddressBookModel * m_addressBookModel;
|
||||||
mutable QElapsedTimer m_daemonBlockChainHeightTime;
|
mutable QElapsedTimer m_daemonBlockChainHeightTime;
|
||||||
|
|
Loading…
Reference in a new issue