summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-04-02 23:01:53 +0200
committerMontel Laurent <[email protected]>2016-04-02 23:01:53 +0200
commitd6cfa73ecd6a6f46fa05142215cf70c3c9ff5b13 (patch)
tree47c18bd4de745b8aa2d33bfc5dcec091206f6d01
parentb9d73c71b39601ce96dce60ef8e4b38bec8bc094 (diff)
Use Q_DECLARE_METATYPE
-rw-r--r--plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinfo.h b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinfo.h
index 93ad715..f064d58 100644
--- a/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinfo.h
+++ b/plugins/messageviewerplugins/externalscriptplugin/viewerpluginexternalscriptinfo.h
@@ -19,7 +19,7 @@
#define VIEWERPLUGINEXTERNALSCRIPTINFO_H
#include <QString>
-
+#include <QObject>
class ViewerPluginExternalScriptInfo
{
public:
@@ -43,5 +43,6 @@ private:
QString mDescription;
};
Q_DECLARE_TYPEINFO(ViewerPluginExternalScriptInfo, Q_MOVABLE_TYPE);
+Q_DECLARE_METATYPE(ViewerPluginExternalScriptInfo);
#endif // VIEWERPLUGINEXTERNALSCRIPTINFO_H