mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-09 12:29:44 +00:00
Remove unused resetModel functions
This commit is contained in:
parent
4f40e30056
commit
811421dca9
6 changed files with 0 additions and 18 deletions
|
@ -186,10 +186,6 @@ void CoinsWidget::onSweepOutput() {
|
||||||
dialog->deleteLater();
|
dialog->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CoinsWidget::resetModel() {
|
|
||||||
ui->coins->setModel(nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void CoinsWidget::copy(copyField field) {
|
void CoinsWidget::copy(copyField field) {
|
||||||
CoinsInfo* c = this->currentEntry();
|
CoinsInfo* c = this->currentEntry();
|
||||||
if (!c) return;
|
if (!c) return;
|
||||||
|
|
|
@ -26,9 +26,6 @@ public:
|
||||||
void setModel(CoinsModel * model, Coins * coins);
|
void setModel(CoinsModel * model, Coins * coins);
|
||||||
~CoinsWidget() override;
|
~CoinsWidget() override;
|
||||||
|
|
||||||
public slots:
|
|
||||||
void resetModel();
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void showHeaderMenu(const QPoint& position);
|
void showHeaderMenu(const QPoint& position);
|
||||||
void setShowSpent(bool show);
|
void setShowSpent(bool show);
|
||||||
|
|
|
@ -97,11 +97,6 @@ void ContactsWidget::setSearchFilter(const QString &filter) {
|
||||||
m_proxyModel->setSearchFilter(filter);
|
m_proxyModel->setSearchFilter(filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ContactsWidget::resetModel()
|
|
||||||
{
|
|
||||||
ui->contacts->setModel(nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ContactsWidget::showHeaderMenu(const QPoint& position)
|
void ContactsWidget::showHeaderMenu(const QPoint& position)
|
||||||
{
|
{
|
||||||
m_showFullAddressesAction->setChecked(m_model->isShowFullAddresses());
|
m_showFullAddressesAction->setChecked(m_model->isShowFullAddresses());
|
||||||
|
|
|
@ -34,7 +34,6 @@ public slots:
|
||||||
void deleteContact();
|
void deleteContact();
|
||||||
void setShowFullAddresses(bool show);
|
void setShowFullAddresses(bool show);
|
||||||
void setSearchFilter(const QString &filter);
|
void setSearchFilter(const QString &filter);
|
||||||
void resetModel();
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void fillAddress(QString &address);
|
void fillAddress(QString &address);
|
||||||
|
|
|
@ -127,10 +127,6 @@ void ReceiveWidget::onShowTransactions() {
|
||||||
emit showTransactions(address);
|
emit showTransactions(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReceiveWidget::resetModel() {
|
|
||||||
ui->addresses->setModel(nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ReceiveWidget::setShowFullAddresses(bool show) {
|
void ReceiveWidget::setShowFullAddresses(bool show) {
|
||||||
if (!m_model) return;
|
if (!m_model) return;
|
||||||
m_model->setShowFullAddresses(show);
|
m_model->setShowFullAddresses(show);
|
||||||
|
|
|
@ -38,7 +38,6 @@ public slots:
|
||||||
void setShowHiddenAddresses(bool show);
|
void setShowHiddenAddresses(bool show);
|
||||||
void setSearchFilter(const QString &filter);
|
void setSearchFilter(const QString &filter);
|
||||||
void onShowTransactions();
|
void onShowTransactions();
|
||||||
void resetModel();
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void showTransactions(const QString& address);
|
void showTransactions(const QString& address);
|
||||||
|
|
Loading…
Reference in a new issue