Skip to content
Snippets Groups Projects
Commit 0d8bf6c6 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

lint

parent 3d6f502b
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
QQmlComponent *
DelegateChoice::delegate() const
{
return delegate_;
return delegate_;
}
void
......
// 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<DelegateChoice> choices READ choices CONSTANT)
......@@ -81,4 +80,3 @@ private:
static DelegateChoice *choice(QQmlListProperty<DelegateChoice> *, int index);
static void clearChoices(QQmlListProperty<DelegateChoice> *);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment