diff --git a/src/timeline2/DelegateChooser.cpp b/src/timeline2/DelegateChooser.cpp index e558da61..6aeea69b 100644 --- a/src/timeline2/DelegateChooser.cpp +++ b/src/timeline2/DelegateChooser.cpp @@ -9,7 +9,7 @@ QQmlComponent * DelegateChoice::delegate() const { - return delegate_; + return delegate_; } void diff --git a/src/timeline2/DelegateChooser.h b/src/timeline2/DelegateChooser.h index a20a1489..68ebeb04 100644 --- a/src/timeline2/DelegateChooser.h +++ b/src/timeline2/DelegateChooser.h @@ -1,6 +1,5 @@ -// A DelegateChooser like the one, that was added to Qt5.12 (in labs), but compatible with older Qt versions -// see KDE/kquickitemviews -// see qtdeclarative/qqmldelagatecomponent +// A DelegateChooser like the one, that was added to Qt5.12 (in labs), but compatible with older Qt +// versions see KDE/kquickitemviews see qtdeclarative/qqmldelagatecomponent #pragma once @@ -40,8 +39,8 @@ private: class DelegateChooser : public QQuickItem { - Q_OBJECT - Q_CLASSINFO("DefaultProperty", "choices") + Q_OBJECT + Q_CLASSINFO("DefaultProperty", "choices") public: Q_PROPERTY(QQmlListProperty choices READ choices CONSTANT) @@ -81,4 +80,3 @@ private: static DelegateChoice *choice(QQmlListProperty *, int index); static void clearChoices(QQmlListProperty *); }; -