summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-12-03 21:53:07 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-12-03 21:53:07 (GMT)
commit8e645502b87e972499ec6fe5662ec499c082029c (patch)
treea0b45e32d84e757f8f7208338055ac487a192fd6
parentc901e373c8402d2542b708831deb4a5773624b1b (diff)
downloadQt-8e645502b87e972499ec6fe5662ec499c082029c.zip
Qt-8e645502b87e972499ec6fe5662ec499c082029c.tar.gz
Qt-8e645502b87e972499ec6fe5662ec499c082029c.tar.bz2
Cleanup.
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsborderimage.cpp1
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsimage.cpp2
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsimagebase.cpp2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsborderimage.cpp b/src/declarative/graphicsitems/qmlgraphicsborderimage.cpp
index 71233c6..368c8bc 100644
--- a/src/declarative/graphicsitems/qmlgraphicsborderimage.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsborderimage.cpp
@@ -69,7 +69,6 @@ QML_DEFINE_TYPE(Qt,4,6,BorderImage,QmlGraphicsBorderImage)
QmlGraphicsBorderImage::QmlGraphicsBorderImage(QmlGraphicsItem *parent)
: QmlGraphicsImageBase(*(new QmlGraphicsBorderImagePrivate), parent)
{
- setFlag(QGraphicsItem::ItemHasNoContents, false);
}
QmlGraphicsBorderImage::~QmlGraphicsBorderImage()
diff --git a/src/declarative/graphicsitems/qmlgraphicsimage.cpp b/src/declarative/graphicsitems/qmlgraphicsimage.cpp
index c75b9ce..239071c 100644
--- a/src/declarative/graphicsitems/qmlgraphicsimage.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsimage.cpp
@@ -128,13 +128,11 @@ QML_DEFINE_TYPE(Qt,4,6,Image,QmlGraphicsImage)
QmlGraphicsImage::QmlGraphicsImage(QmlGraphicsItem *parent)
: QmlGraphicsImageBase(*(new QmlGraphicsImagePrivate), parent)
{
- setFlag(QGraphicsItem::ItemHasNoContents, false);
}
QmlGraphicsImage::QmlGraphicsImage(QmlGraphicsImagePrivate &dd, QmlGraphicsItem *parent)
: QmlGraphicsImageBase(dd, parent)
{
- setFlag(QGraphicsItem::ItemHasNoContents, false);
}
QmlGraphicsImage::~QmlGraphicsImage()
diff --git a/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp b/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
index e11e6c1..1620e73 100644
--- a/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsimagebase.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
QmlGraphicsImageBase::QmlGraphicsImageBase(QmlGraphicsImageBasePrivate &dd, QmlGraphicsItem *parent)
: QmlGraphicsItem(dd, parent)
{
- setFlag(QGraphicsItem::ItemHasNoContents, true);
+ setFlag(QGraphicsItem::ItemHasNoContents, false);
}
QmlGraphicsImageBase::~QmlGraphicsImageBase()