aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index b486c5f0..6c529ed0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -44,8 +44,8 @@ int main(int argc, char *argv[])
app.installEventFilter(eventFilter);
qmlRegisterType<clipboardAdapter>("moneroComponents", 1, 0, "Clipboard");
- //qmlRegisterType<Wallet>("moneroWallet", 1, 0, "Wallet");
- qmlRegisterType<Wallet>();
+ qmlRegisterInterface<Wallet>("Wallet");
+
QQmlApplicationEngine engine;