mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-08 20:09:43 +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();
|
||||
}
|
||||
|
||||
void CoinsWidget::resetModel() {
|
||||
ui->coins->setModel(nullptr);
|
||||
}
|
||||
|
||||
void CoinsWidget::copy(copyField field) {
|
||||
CoinsInfo* c = this->currentEntry();
|
||||
if (!c) return;
|
||||
|
|
|
@ -26,9 +26,6 @@ public:
|
|||
void setModel(CoinsModel * model, Coins * coins);
|
||||
~CoinsWidget() override;
|
||||
|
||||
public slots:
|
||||
void resetModel();
|
||||
|
||||
private slots:
|
||||
void showHeaderMenu(const QPoint& position);
|
||||
void setShowSpent(bool show);
|
||||
|
|
|
@ -97,11 +97,6 @@ void ContactsWidget::setSearchFilter(const QString &filter) {
|
|||
m_proxyModel->setSearchFilter(filter);
|
||||
}
|
||||
|
||||
void ContactsWidget::resetModel()
|
||||
{
|
||||
ui->contacts->setModel(nullptr);
|
||||
}
|
||||
|
||||
void ContactsWidget::showHeaderMenu(const QPoint& position)
|
||||
{
|
||||
m_showFullAddressesAction->setChecked(m_model->isShowFullAddresses());
|
||||
|
|
|
@ -34,7 +34,6 @@ public slots:
|
|||
void deleteContact();
|
||||
void setShowFullAddresses(bool show);
|
||||
void setSearchFilter(const QString &filter);
|
||||
void resetModel();
|
||||
|
||||
signals:
|
||||
void fillAddress(QString &address);
|
||||
|
|
|
@ -127,10 +127,6 @@ void ReceiveWidget::onShowTransactions() {
|
|||
emit showTransactions(address);
|
||||
}
|
||||
|
||||
void ReceiveWidget::resetModel() {
|
||||
ui->addresses->setModel(nullptr);
|
||||
}
|
||||
|
||||
void ReceiveWidget::setShowFullAddresses(bool show) {
|
||||
if (!m_model) return;
|
||||
m_model->setShowFullAddresses(show);
|
||||
|
|
|
@ -38,7 +38,6 @@ public slots:
|
|||
void setShowHiddenAddresses(bool show);
|
||||
void setSearchFilter(const QString &filter);
|
||||
void onShowTransactions();
|
||||
void resetModel();
|
||||
|
||||
signals:
|
||||
void showTransactions(const QString& address);
|
||||
|
|
Loading…
Reference in a new issue