summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-19 06:56:24 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-19 06:56:24 (GMT)
commit337eff4a30844d85c6344091e75acb493771237f (patch)
tree9f485e74ad06cbd075b9266554d22cc7321aa0cb /src/declarative/graphicsitems
parent1c0d43cf8f2543be89ba02e659b8fd7e975f7f96 (diff)
downloadQt-337eff4a30844d85c6344091e75acb493771237f.zip
Qt-337eff4a30844d85c6344091e75acb493771237f.tar.gz
Qt-337eff4a30844d85c6344091e75acb493771237f.tar.bz2
Remove unused constructor.
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsimagebase.cpp6
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsimagebase_p.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp b/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
index 3e86a7c..6cd1c05 100644
--- a/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
@@ -49,12 +49,6 @@
QT_BEGIN_NAMESPACE
-QmlGraphicsImageBase::QmlGraphicsImageBase(QmlGraphicsItem *parent)
- : QmlGraphicsItem(*(new QmlGraphicsImageBasePrivate), parent)
-{
- setFlag(QGraphicsItem::ItemHasNoContents, true);
-}
-
QmlGraphicsImageBase::QmlGraphicsImageBase(QmlGraphicsImageBasePrivate &dd, QmlGraphicsItem *parent)
: QmlGraphicsItem(dd, parent)
{
diff --git a/src/declarative/graphicsitems/qmlgraphicsimagebase_p.h b/src/declarative/graphicsitems/qmlgraphicsimagebase_p.h
index 8144ce0..bab93b7 100644
--- a/src/declarative/graphicsitems/qmlgraphicsimagebase_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicsimagebase_p.h
@@ -59,7 +59,6 @@ class Q_DECLARATIVE_EXPORT QmlGraphicsImageBase : public QmlGraphicsItem
Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged)
public:
- QmlGraphicsImageBase(QmlGraphicsItem *parent = 0);
~QmlGraphicsImageBase();
enum Status { Null, Ready, Loading, Error };
Status status() const;