Skip to content

Commit

Permalink
QgsMapCanvasItem is not to be derived from QObject - no need for that.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 3, 2007
1 parent 9533cb2 commit e7127f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/gui/qgsmapcanvasitem.sip
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

class QgsMapCanvasItem : QObject, QGraphicsItem
class QgsMapCanvasItem : QGraphicsItem
{
%TypeHeaderCode
#include <qgsmapcanvasitem.h>
Expand Down
1 change: 0 additions & 1 deletion src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ qgisinterface.h
qgsencodingfiledialog.h
qgslayerprojectionselector.h
qgsmapcanvas.h
qgsmapcanvasitem.h
qgsmapoverviewcanvas.h
qgsprojectionselector.h
)
Expand Down
4 changes: 1 addition & 3 deletions src/gui/qgsmapcanvasitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e7127f8

Please sign in to comment.