summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-09-16 09:25:34 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-09-16 09:25:34 (GMT)
commit99205499b848d2af5502b63ecee8cfd4c577ec42 (patch)
tree960a6d6c3944817183da88140eb2dcf2d8f562a9 /src/declarative
parent52409912fdb150111e0559d9b44c12bca3126a61 (diff)
downloadQt-99205499b848d2af5502b63ecee8cfd4c577ec42.zip
Qt-99205499b848d2af5502b63ecee8cfd4c577ec42.tar.gz
Qt-99205499b848d2af5502b63ecee8cfd4c577ec42.tar.bz2
Fix warnings
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qdeclarativecustomparser_p.h2
-rw-r--r--src/declarative/util/qdeclarativepixmapcache_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecustomparser_p.h b/src/declarative/qml/qdeclarativecustomparser_p.h
index 509e30a..c3f9dd2 100644
--- a/src/declarative/qml/qdeclarativecustomparser_p.h
+++ b/src/declarative/qml/qdeclarativecustomparser_p.h
@@ -117,7 +117,7 @@ public:
NoFlag = 0x00000000,
AcceptsAttachedProperties = 0x00000001
};
- Q_DECLARE_FLAGS(Flags, Flag);
+ Q_DECLARE_FLAGS(Flags, Flag)
QDeclarativeCustomParser() : compiler(0), object(0), m_flags(NoFlag) {}
QDeclarativeCustomParser(Flags f) : compiler(0), object(0), m_flags(f) {}
diff --git a/src/declarative/util/qdeclarativepixmapcache_p.h b/src/declarative/util/qdeclarativepixmapcache_p.h
index b4d88bd..2e83cc4 100644
--- a/src/declarative/util/qdeclarativepixmapcache_p.h
+++ b/src/declarative/util/qdeclarativepixmapcache_p.h
@@ -98,7 +98,7 @@ public:
bool connectDownloadProgress(QObject *, int);
private:
- Q_DISABLE_COPY(QDeclarativePixmap);
+ Q_DISABLE_COPY(QDeclarativePixmap)
QDeclarativePixmapData *d;
};