Remove unused resetModel functions

This commit is contained in:
tobtoht 2021-05-25 15:33:41 +02:00
parent 4f40e30056
commit 811421dca9
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
6 changed files with 0 additions and 18 deletions

View file

@ -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;

View file

@ -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);

View file

@ -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());

View file

@ -34,7 +34,6 @@ public slots:
void deleteContact();
void setShowFullAddresses(bool show);
void setSearchFilter(const QString &filter);
void resetModel();
signals:
void fillAddress(QString &address);

View file

@ -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);

View file

@ -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);