Commits on Source (2)
-
Types are used in connections, they must be registered with both Q_DECLARE_METATYPE and qRegisterMetaType as stated in the documentation. > To use the type T in QVariant, using Q_DECLARE_METATYPE() is sufficient. > To use the type T in queued signal and slot connections, > qRegisterMetaType<T>() must be called before the first connection > is established.
c2f0719e -
Using the explicit type make the variable be assigned by pointer, but it is assigned by value which gives the error > Error: Cannot assign DialogId to DialogId*
39e74833