mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
9533cb296c
commit
e7127f8766
@ -1,5 +1,5 @@
|
||||
|
||||
class QgsMapCanvasItem : QObject, QGraphicsItem
|
||||
class QgsMapCanvasItem : QGraphicsItem
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgsmapcanvasitem.h>
|
||||
|
||||
@ -25,7 +25,6 @@ qgisinterface.h
|
||||
qgsencodingfiledialog.h
|
||||
qgslayerprojectionselector.h
|
||||
qgsmapcanvas.h
|
||||
qgsmapcanvasitem.h
|
||||
qgsmapoverviewcanvas.h
|
||||
qgsprojectionselector.h
|
||||
)
|
||||
|
||||
@ -23,10 +23,8 @@
|
||||
class QgsMapCanvas;
|
||||
class QPainter;
|
||||
|
||||
class GUI_EXPORT QgsMapCanvasItem : public QObject, public QGraphicsItem
|
||||
class GUI_EXPORT QgsMapCanvasItem : public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT;
|
||||
|
||||
protected:
|
||||
|
||||
//! protected constructor: cannot be constructed directly
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user