diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2014-08-21 15:36:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-24 09:56:59 +0200 |
commit | 4f98d16c66816e3097cf4b1764e2bf3d0f75ddf3 (patch) | |
tree | 864e5e73437445ad5ff8923249e5456df6e0d75a /src/particles/qquickspritegoal_p.h | |
parent | 23776181b8e73dc7f18c3042fcc37c9f018f29c5 (diff) |
Add const & to arguments
Change-Id: I1bcf69638fee32b6e6565b8ea828c0adcff48a67
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/particles/qquickspritegoal_p.h')
-rw-r--r-- | src/particles/qquickspritegoal_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particles/qquickspritegoal_p.h b/src/particles/qquickspritegoal_p.h index c5c7539b58..eb7850a8f7 100644 --- a/src/particles/qquickspritegoal_p.h +++ b/src/particles/qquickspritegoal_p.h @@ -75,7 +75,7 @@ protected: virtual bool affectParticle(QQuickParticleData *d, qreal dt); Q_SIGNALS: - void goalStateChanged(QString arg); + void goalStateChanged(const QString &arg); void jumpChanged(bool arg); @@ -83,7 +83,7 @@ Q_SIGNALS: public Q_SLOTS: -void setGoalState(QString arg); +void setGoalState(const QString &arg); void setJump(bool arg) { |