diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-02 11:00:09 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-02 11:00:09 (GMT) |
commit | 2c0dec10520ce1ae25eaef2d1c67969528ac278d (patch) | |
tree | 8c2fc5ae06e96d6400889a4d7988a6079029e2e9 /src/declarative/graphicsitems | |
parent | 7366200d7600271c86144e70ae59ce77f39b2a16 (diff) | |
download | Qt-2c0dec10520ce1ae25eaef2d1c67969528ac278d.zip Qt-2c0dec10520ce1ae25eaef2d1c67969528ac278d.tar.gz Qt-2c0dec10520ce1ae25eaef2d1c67969528ac278d.tar.bz2 |
QtDeclarative: Fix compiler warnings
class/struct mixups, unused variables.
Reviewed-by: Thomas Hartmann <thartman@trolltech.com>
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeflickable.cpp | 1 | ||||
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index c54ddd0..1998ccf 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -154,7 +154,6 @@ void QDeclarativeFlickablePrivate::init() */ qreal QDeclarativeFlickablePrivate::overShootDistance(qreal velocity, qreal size) { - Q_Q(QDeclarativeFlickable); if (maxVelocity <= 0) return 0.0; diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp index cd72ef9..693fd20 100644 --- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp +++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp @@ -1268,7 +1268,6 @@ void QDeclarativeVisualDataModel::_q_dataChanged(const QModelIndex &begin, const void QDeclarativeVisualDataModel::_q_modelReset() { - Q_D(QDeclarativeVisualDataModel); emit modelReset(); } |