aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-02-01 01:04:38 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-02-01 01:04:38 -0600
commit10d8fc01ea1ed6b60b04943138a0c2cbeef62d9c (patch)
tree839b023db51da6aadd95e5beef2a38f5d59a4b1c /main.cpp
parent443e9c260ddfbcea88166133049540aebdd4f477 (diff)
parentbd809abc52cc8d312c0023cfc9ae2d14e191d0b5 (diff)
downloadmonzero-gui-10d8fc01ea1ed6b60b04943138a0c2cbeef62d9c.tar.gz
monzero-gui-10d8fc01ea1ed6b60b04943138a0c2cbeef62d9c.tar.xz
monzero-gui-10d8fc01ea1ed6b60b04943138a0c2cbeef62d9c.zip
Merge pull request #1905
bd809ab add account support (selsta)
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 43b1f5a6..b47d1191 100644
--- a/main.cpp
+++ b/main.cpp
@@ -55,6 +55,8 @@
#include "model/AddressBookModel.h"
#include "Subaddress.h"
#include "model/SubaddressModel.h"
+#include "SubaddressAccount.h"
+#include "model/SubaddressAccountModel.h"
#include "wallet/api/wallet2_api.h"
#include "Logger.h"
#include "MainApp.h"
@@ -208,6 +210,12 @@ int main(int argc, char *argv[])
qmlRegisterUncreatableType<Subaddress>("moneroComponents.Subaddress", 1, 0, "Subaddress",
"Subaddress can't be instantiated directly");
+ qmlRegisterUncreatableType<SubaddressAccountModel>("moneroComponents.SubaddressAccountModel", 1, 0, "SubaddressAccountModel",
+ "SubaddressAccountModel can't be instantiated directly");
+
+ qmlRegisterUncreatableType<SubaddressAccount>("moneroComponents.SubaddressAccount", 1, 0, "SubaddressAccount",
+ "SubaddressAccount can't be instantiated directly");
+
qRegisterMetaType<PendingTransaction::Priority>();
qRegisterMetaType<TransactionInfo::Direction>();
qRegisterMetaType<TransactionHistoryModel::TransactionInfoRole>();