aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-05 17:37:17 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-05 17:37:17 +0100
commit5cd85c422859c6b11cf8a4aef05c9ddd4d142007 (patch)
treec782b781da5bb60d50049c0722fbf0a8eec9b4df
parentc82cddcc5565867fa1ccb8b2ab1bec3e1058de96 (diff)
[Qt] remove unused optionsmodel from addressbookpage
-rw-r--r--src/qt/addressbookpage.cpp7
-rw-r--r--src/qt/addressbookpage.h3
2 files changed, 0 insertions, 10 deletions
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp
index 021f33ff20..cef307b86d 100644
--- a/src/qt/addressbookpage.cpp
+++ b/src/qt/addressbookpage.cpp
@@ -10,7 +10,6 @@
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
-#include "optionsmodel.h"
#include "bitcoingui.h"
#include "editaddressdialog.h"
#include "csvmodelwriter.h"
@@ -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)
{
@@ -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);
diff --git a/src/qt/addressbookpage.h b/src/qt/addressbookpage.h
index 081bfae365..60b5d8c47f 100644
--- a/src/qt/addressbookpage.h
+++ b/src/qt/addressbookpage.h
@@ -11,7 +11,6 @@ namespace Ui {
class AddressBookPage;
}
class AddressTableModel;
-class OptionsModel;
QT_BEGIN_NAMESPACE
class QTableView;
@@ -42,7 +41,6 @@ public:
~AddressBookPage();
void setModel(AddressTableModel *model);
- void setOptionsModel(OptionsModel *optionsModel);
const QString &getReturnValue() const { return returnValue; }
public slots:
@@ -51,7 +49,6 @@ public slots:
private:
Ui::AddressBookPage *ui;
AddressTableModel *model;
- OptionsModel *optionsModel;
Mode mode;
Tabs tab;
QString returnValue;