diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-30 00:18:05 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-31 01:17:53 (GMT) |
commit | 87239ef6438b50b2dfa7b6526a5e5cbe7d5598d5 (patch) | |
tree | 9cfd895016f8435671c2f88d7a1d40ddf1e7cfc1 /src/corelib/animation | |
parent | 7ebd2024f49bdaf798f0beaaa35946dfa890f276 (diff) | |
download | Qt-87239ef6438b50b2dfa7b6526a5e5cbe7d5598d5.zip Qt-87239ef6438b50b2dfa7b6526a5e5cbe7d5598d5.tar.gz Qt-87239ef6438b50b2dfa7b6526a5e5cbe7d5598d5.tar.bz2 |
extend the QObjectPrivate::connectedSignals bitfield to make space
for all the required NOTIFY signals we need for QML bindings.
An additional internal function QMetaObject::isConnected() allows
to query the bits, or you use connectedSignals[0] if you know that
the signal in question has a QMetaObject::indexOfSignal() < 32.
Authored-by: mae
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/corelib/animation')
-rw-r--r-- | src/corelib/animation/qvariantanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp index 48e5ec1..fdd98c2 100644 --- a/src/corelib/animation/qvariantanimation.cpp +++ b/src/corelib/animation/qvariantanimation.cpp @@ -267,7 +267,7 @@ void QVariantAnimationPrivate::setCurrentValueForProgress(const qreal progress) localProgress); qSwap(currentValue, ret); q->updateCurrentValue(currentValue); - if ((connectedSignals & changedSignalMask) && currentValue != ret) { + if ((connectedSignals[0] & changedSignalMask) && currentValue != ret) { //the value has changed emit q->valueChanged(currentValue); } |