summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfximage_p.h')
-rw-r--r--src/declarative/fx/qfximage_p.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/declarative/fx/qfximage_p.h b/src/declarative/fx/qfximage_p.h
index de7ebe6..7792dbf 100644
--- a/src/declarative/fx/qfximage_p.h
+++ b/src/declarative/fx/qfximage_p.h
@@ -55,6 +55,8 @@
#include "qfxitem_p.h"
+#include <QtCore/qpointer.h>
+
QT_BEGIN_NAMESPACE
class QSvgRenderer;
@@ -69,12 +71,12 @@ class QFxImagePrivate : public QFxItemPrivate
public:
QFxImagePrivate()
: scaleGrid(0), tiled(false), smooth(false), opaque(false),
- preserveAspect(false), status(QFxImage::Idle), sciReply(0),
+ preserveAspect(false), status(QFxImage::Idle), sciReply(0),
progress(0.0)
{
}
- ~QFxImagePrivate()
+ ~QFxImagePrivate()
{
delete scaleGrid;
}
@@ -83,11 +85,11 @@ public:
QFxScaleGrid *getScaleGrid()
{
- if (!scaleGrid)
+ if (!scaleGrid)
scaleGrid = new QFxScaleGrid;
return scaleGrid;
}
-
+
QFxScaleGrid *scaleGrid;
QPixmap pix;
bool tiled : 1;