diff --git a/python/core/qgsmaplayer.sip.in b/python/core/qgsmaplayer.sip.in index 3843c049960..b87409f1eee 100644 --- a/python/core/qgsmaplayer.sip.in +++ b/python/core/qgsmaplayer.sip.in @@ -12,6 +12,7 @@ + class QgsMapLayer : QObject { %Docstring diff --git a/src/core/qgsmaplayer.h b/src/core/qgsmaplayer.h index 1a506697a02..3563b92a01a 100644 --- a/src/core/qgsmaplayer.h +++ b/src/core/qgsmaplayer.h @@ -51,7 +51,7 @@ class QPainter; /* * Constants used to describe copy-paste MIME types */ -#define QGSCLIPBOARD_MAPLAYER_MIME "application/qgis.layer" +#define QGSCLIPBOARD_MAPLAYER_MIME "application/qgis.maplayer" /** * \ingroup core