summaryrefslogtreecommitdiffstats
path: root/src/engine/sync/synccontrol.h
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2015-09-11 21:54:40 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2015-09-11 21:54:40 +0200
commit2b24ce47b7b9485b92eb66a42f652b65065252d3 (patch)
tree2af948181efee83711d0a53109e22da55ba01d22 /src/engine/sync/synccontrol.h
parent5f92c9e30b1296e189078dde1cc0e90dc470a2a3 (diff)
Improve comments
Diffstat (limited to 'src/engine/sync/synccontrol.h')
-rw-r--r--src/engine/sync/synccontrol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/sync/synccontrol.h b/src/engine/sync/synccontrol.h
index 0f4748bf42..9a59eb9fac 100644
--- a/src/engine/sync/synccontrol.h
+++ b/src/engine/sync/synccontrol.h
@@ -122,6 +122,9 @@ class SyncControl : public EngineControl, public Syncable {
QScopedPointer<ControlPushButton> m_pSyncEnabled;
QScopedPointer<ControlObject> m_pSyncBeatDistance;
+ // These ControlObjectSlaves are created as parent to this and deleted by
+ // the Qt object tree. This helps that they are deleted by the creating
+ // thread, which is required to avoid segfaults.
ControlObjectSlave* m_pPlayButton;
ControlObjectSlave* m_pBpm;
ControlObjectSlave* m_pLocalBpm;