-
Committer:
Alberto Mardegan
-
Date:
2013-01-21 09:43:43 UTC
-
Revision ID:
git-v1:867b65cbe3101d93a10db54e98dd2d74b8f8a14f
Do not instantiate Error before Q_DECLARE_METATYPE
Doing so in Qt5 would cause the template QMetaTypeId<Accounts::Error>
class to be instantiated before Q_DECLARE_METATYPE, and consequently
cause a compilation error because the Q_DECLARE_METATYPE macro would
then re-define the same class.