Skip to content

Commit

Permalink
[Cleanup] Remove unused recentRequestsTableModel
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Dec 10, 2021
1 parent 97728e5 commit 348adec
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 347 deletions.
3 changes: 0 additions & 3 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ QT_MOC_CPP = \
qt/moc_paymentserver.cpp \
qt/moc_qvalidatedlineedit.cpp \
qt/moc_qvaluecombobox.cpp \
qt/moc_recentrequeststablemodel.cpp \
qt/moc_rpcconsole.cpp \
qt/moc_rpcexecutor.cpp \
qt/moc_trafficgraphwidget.cpp \
Expand Down Expand Up @@ -201,7 +200,6 @@ BITCOIN_QT_H = \
qt/platformstyle.h \
qt/qvalidatedlineedit.h \
qt/qvaluecombobox.h \
qt/recentrequeststablemodel.h \
qt/rpcconsole.h \
qt/rpcexecutor.h \
qt/trafficgraphwidget.h \
Expand Down Expand Up @@ -549,7 +547,6 @@ BITCOIN_QT_WALLET_CPP = \
qt/editaddressdialog.cpp \
qt/openuridialog.cpp \
qt/paymentserver.cpp \
qt/recentrequeststablemodel.cpp \
qt/transactionfilterproxy.cpp \
qt/transactionrecord.cpp \
qt/transactiontablemodel.cpp \
Expand Down
1 change: 0 additions & 1 deletion src/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ SET(QT_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/editaddressdialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/openuridialog.cpp
${CMAKE_CURRENT_SOURCE_DIR}/paymentserver.cpp
${CMAKE_CURRENT_SOURCE_DIR}/recentrequeststablemodel.cpp
${CMAKE_CURRENT_SOURCE_DIR}/transactionfilterproxy.cpp
${CMAKE_CURRENT_SOURCE_DIR}/transactionrecord.cpp
${CMAKE_CURRENT_SOURCE_DIR}/transactiontablemodel.cpp
Expand Down
233 changes: 0 additions & 233 deletions src/qt/recentrequeststablemodel.cpp

This file was deleted.

100 changes: 0 additions & 100 deletions src/qt/recentrequeststablemodel.h

This file was deleted.

7 changes: 0 additions & 7 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "qt/clientmodel.h"
#include "qt/guiconstants.h"
#include "qt/optionsmodel.h"
#include "qt/recentrequeststablemodel.h"
#include "qt/transactiontablemodel.h"
#include "qt/walletmodeltransaction.h"

Expand Down Expand Up @@ -50,7 +49,6 @@ WalletModel::WalletModel(CWallet* wallet, OptionsModel* optionsModel, QObject* p

addressTableModel = new AddressTableModel(wallet, this);
transactionTableModel = new TransactionTableModel(wallet, this);
recentRequestsTableModel = new RecentRequestsTableModel(wallet, this);
}

void WalletModel::init()
Expand Down Expand Up @@ -698,11 +696,6 @@ TransactionTableModel* WalletModel::getTransactionTableModel()
return transactionTableModel;
}

RecentRequestsTableModel* WalletModel::getRecentRequestsTableModel()
{
return recentRequestsTableModel;
}

WalletModel::EncryptionStatus WalletModel::getEncryptionStatus() const
{
if (!wallet) throw std::runtime_error("Error, cannot get encryption status. Wallet doesn't exist");
Expand Down
Loading

0 comments on commit 348adec

Please sign in to comment.