Skip to content

Commit

Permalink
[Qt] remove unused optionsmodel from addressbookpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kaufmann committed Nov 5, 2013
1 parent c82cddc commit 5cd85c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions src/qt/addressbookpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "ui_addressbookpage.h"

#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "bitcoingui.h"
#include "editaddressdialog.h"
#include "csvmodelwriter.h"
Expand All @@ -25,7 +24,6 @@ AddressBookPage::AddressBookPage(Mode mode, Tabs tab, QWidget *parent) :
QDialog(parent),
ui(new Ui::AddressBookPage),
model(0),
optionsModel(0),
mode(mode),
tab(tab)
{
Expand Down Expand Up @@ -148,11 +146,6 @@ void AddressBookPage::setModel(AddressTableModel *model)
selectionChanged();
}

void AddressBookPage::setOptionsModel(OptionsModel *optionsModel)
{
this->optionsModel = optionsModel;
}

void AddressBookPage::on_copyAddress_clicked()
{
GUIUtil::copyEntryData(ui->tableView, AddressTableModel::Address);
Expand Down
3 changes: 0 additions & 3 deletions src/qt/addressbookpage.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace Ui {
class AddressBookPage;
}
class AddressTableModel;
class OptionsModel;

QT_BEGIN_NAMESPACE
class QTableView;
Expand Down Expand Up @@ -42,7 +41,6 @@ class AddressBookPage : public QDialog
~AddressBookPage();

void setModel(AddressTableModel *model);
void setOptionsModel(OptionsModel *optionsModel);
const QString &getReturnValue() const { return returnValue; }

public slots:
Expand All @@ -51,7 +49,6 @@ public slots:
private:
Ui::AddressBookPage *ui;
AddressTableModel *model;
OptionsModel *optionsModel;
Mode mode;
Tabs tab;
QString returnValue;
Expand Down

0 comments on commit 5cd85c4

Please sign in to comment.