-
Committer:
Alberto Mardegan
-
Date:
2013-01-21 13:50:42 UTC
-
Revision ID:
git-v1:818356bec9f3fc0ebcbec9362b217d7fd5560114
Do not instantiate Error before Q_DECLARE_METATYPE
Doing so in Qt5 would cause the template QMetaTypeId<SignOn::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.