diff -r 42d64bd73232 -r a874deb6a536 src/SimulatorWindow.cpp
--- a/src/SimulatorWindow.cpp Thu Mar 14 16:46:16 2019 +0100
+++ b/src/SimulatorWindow.cpp Thu Mar 14 17:41:43 2019 +0100
@@ -16,10 +16,10 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
+#include
+#include
+#include
+#include
#include "SimulatorWindow.h"
@@ -95,6 +95,7 @@
}
void SimulatorWindow::centerAll() {
+ // TODO: add option for suppressing events in sendMotionEvent() and call this method from here instead of through sliders signals, so only one event will be emitted?
for (QSlider* s : motions) s->setValue(0);
for (QSlider* s : rotations) s->setValue(0);
}