diff options
author | ccolin | 2020-12-22 17:57:45 +0100 |
---|---|---|
committer | ccolin | 2020-12-22 17:57:45 +0100 |
commit | c6ca25b110ebf83d7981a76a6433a60ee4ae89d0 (patch) | |
tree | 81d5fe85c02e21691c1c491a673bfa77fee6b442 /src/drone_controller.cc | |
parent | e87f0b5256a6d14367c0f3f703db0a4f56f3216f (diff) |
fix inconsistencies when loading a file if another is already loaded
Diffstat (limited to 'src/drone_controller.cc')
-rw-r--r-- | src/drone_controller.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drone_controller.cc b/src/drone_controller.cc index 0a69fd1..406a031 100644 --- a/src/drone_controller.cc +++ b/src/drone_controller.cc @@ -126,7 +126,6 @@ DroneController::DroneController(const QJsonObject &json) } connect(&timer, &QTimer::timeout, this, &DroneController::step); - pause(); } @@ -136,7 +135,6 @@ int DroneController::getDuration() const { void DroneController::step() { - // qDebug("frame %d (%d%%)", frame, (int) ((double) frame / duration * 100)); for (Drone d : drones) { d.setTo(frame); } @@ -154,7 +152,6 @@ void DroneController::play() { if (!paused) return; paused = false; timer.start(1000. / framerate); - qDebug() << "playing"; emit playing(); } @@ -163,7 +160,6 @@ void DroneController::pause() { if (paused) return; paused = true; timer.stop(); - qDebug() << "pausing"; emit pausing(); } |