Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 3, 2007
1 parent 8d3dd5f commit 3251943
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
@@ -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
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
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 3251943

Please sign in to comment.