You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/qt/bitcoin.cpp
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -430,17 +430,19 @@ int GuiMain(int argc, char* argv[])
430
430
431
431
BitcoinApplication app(*node);
432
432
433
-
// Register meta types used for QMetaObject::invokeMethod
434
-
qRegisterMetaType<bool*>();
433
+
// Register meta types used for QMetaObject::invokeMethod and Qt::QueuedConnection
434
+
qRegisterMetaType<bool*>();
435
435
#ifdef ENABLE_WALLET
436
436
qRegisterMetaType<WalletModel*>();
437
437
#endif
438
-
// Need to pass name here as CAmount is a typedef (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
439
-
//IMPORTANT if it is no longer a typedef use the normal variant above
440
-
qRegisterMetaType<CAmount>("CAmount");
438
+
//Register typedefs (see http://qt-project.org/doc/qt-5/qmetatype.html#qRegisterMetaType)
439
+
// IMPORTANT: if CAmount is no longer a typedef use the normal variant above (see https://doc.qt.io/qt-5/qmetatype.html#qRegisterMetaType-1)
0 commit comments