summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/svg/qgraphicssvgitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qgraphicssvgitem.cpp b/src/svg/qgraphicssvgitem.cpp
index e56a652..f899c7f 100644
--- a/src/svg/qgraphicssvgitem.cpp
+++ b/src/svg/qgraphicssvgitem.cpp
@@ -140,7 +140,7 @@ public:
Constructs a new SVG item with the given \a parent.
*/
QGraphicsSvgItem::QGraphicsSvgItem(QGraphicsItem *parent)
- : QGraphicsObject(*new QGraphicsSvgItemPrivate(), 0, 0)
+ : QGraphicsObject(*new QGraphicsSvgItemPrivate(), 0)
{
Q_D(QGraphicsSvgItem);
d->init(parent);
@@ -151,7 +151,7 @@ QGraphicsSvgItem::QGraphicsSvgItem(QGraphicsItem *parent)
SVG file with the specified \a fileName.
*/
QGraphicsSvgItem::QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parent)
- : QGraphicsObject(*new QGraphicsSvgItemPrivate(), 0, 0)
+ : QGraphicsObject(*new QGraphicsSvgItemPrivate(), 0)
{
Q_D(QGraphicsSvgItem);
d->init(parent);