Skip to content

Commit e7127f8

Browse files
author
wonder
committedMar 3, 2007
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
1 parent 9533cb2 commit e7127f8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
 

‎python/gui/qgsmapcanvasitem.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
class QgsMapCanvasItem : QObject, QGraphicsItem
2+
class QgsMapCanvasItem : QGraphicsItem
33
{
44
%TypeHeaderCode
55
#include <qgsmapcanvasitem.h>

‎src/gui/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ qgisinterface.h
2525
qgsencodingfiledialog.h
2626
qgslayerprojectionselector.h
2727
qgsmapcanvas.h
28-
qgsmapcanvasitem.h
2928
qgsmapoverviewcanvas.h
3029
qgsprojectionselector.h
3130
)

‎src/gui/qgsmapcanvasitem.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
class QgsMapCanvas;
2424
class QPainter;
2525

26-
class GUI_EXPORT QgsMapCanvasItem : public QObject, public QGraphicsItem
26+
class GUI_EXPORT QgsMapCanvasItem : public QGraphicsItem
2727
{
28-
Q_OBJECT;
29-
3028
protected:
3129

3230
//! protected constructor: cannot be constructed directly

0 commit comments

Comments
 (0)
Please sign in to comment.