summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jholthuis@mixxx.org>2022-01-11 19:59:57 +0100
committerJan Holthuis <jholthuis@mixxx.org>2022-01-11 19:59:57 +0100
commit7712dd365b2626e126e8fae8b11b5dae73173b3a (patch)
treebd4ccf3cf0fca1852e43ef7fe11876312d4ab2d5
parent1ed44feddab87bf6372cbec1258bc5c1f8309332 (diff)
QML: Add comment why Item is used for non-visual LibraryControl component
-rw-r--r--res/qml/LibraryControlLoadSelectedTrackHandler.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/qml/LibraryControlLoadSelectedTrackHandler.qml b/res/qml/LibraryControlLoadSelectedTrackHandler.qml
index 7c90f8428b..fad5436770 100644
--- a/res/qml/LibraryControlLoadSelectedTrackHandler.qml
+++ b/res/qml/LibraryControlLoadSelectedTrackHandler.qml
@@ -1,6 +1,10 @@
import Mixxx 0.1 as Mixxx
import QtQuick 2.12
+/// Usually, this component shouldn't be an (visual) `Item` and use something
+/// like `QtObject` instead. However, for some reason using `QtObject` here
+/// makes Mixxx crash on load (using Qt 5.15.2+kde+r43-1). We can check if this
+/// is fixed upstream once we switch to Qt 6.
Item {
id: root