mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-22 09:38:48 +02:00
Remove unused resetModel functions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user