diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-02-01 01:04:38 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-02-01 01:04:38 -0600 |
| commit | 10d8fc01ea1ed6b60b04943138a0c2cbeef62d9c (patch) | |
| tree | 839b023db51da6aadd95e5beef2a38f5d59a4b1c /main.cpp | |
| parent | 443e9c260ddfbcea88166133049540aebdd4f477 (diff) | |
| parent | bd809abc52cc8d312c0023cfc9ae2d14e191d0b5 (diff) | |
| download | monzero-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.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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>(); |
