forked from qt-creator/qt-creator
QmlJSDebugger: Renamed "execution paused" to "animation paused"
The latter better describes what is paused, since expressions are actually still executed. Suggested by Kai.
This commit is contained in:
@@ -100,7 +100,7 @@ void QDeclarativeObserverService::messageReceived(const QByteArray &message)
|
||||
emit animationSpeedChangeRequested(speed);
|
||||
break;
|
||||
}
|
||||
case ObserverProtocol::SetExecutionPaused: {
|
||||
case ObserverProtocol::SetAnimationPaused: {
|
||||
bool paused;
|
||||
ds >> paused;
|
||||
emit executionPauseChangeRequested(paused);
|
||||
@@ -239,12 +239,12 @@ void QDeclarativeObserverService::setAnimationSpeed(qreal slowDownFactor)
|
||||
sendMessage(message);
|
||||
}
|
||||
|
||||
void QDeclarativeObserverService::setExecutionPaused(bool paused)
|
||||
void QDeclarativeObserverService::setAnimationPaused(bool paused)
|
||||
{
|
||||
QByteArray message;
|
||||
QDataStream ds(&message, QIODevice::WriteOnly);
|
||||
|
||||
ds << ObserverProtocol::ExecutionPausedChanged
|
||||
ds << ObserverProtocol::AnimationPausedChanged
|
||||
<< paused;
|
||||
|
||||
sendMessage(message);
|
||||
|
||||
Reference in New Issue
Block a user