summaryrefslogtreecommitdiff
path: root/qface/builtin/qtcpp/templates/structmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qface/builtin/qtcpp/templates/structmodel.h')
-rw-r--r--qface/builtin/qtcpp/templates/structmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qface/builtin/qtcpp/templates/structmodel.h b/qface/builtin/qtcpp/templates/structmodel.h
index 96597be..ab02b25 100644
--- a/qface/builtin/qtcpp/templates/structmodel.h
+++ b/qface/builtin/qtcpp/templates/structmodel.h
@@ -17,7 +17,7 @@ class {{class}} : public QAbstractListModel
Q_PROPERTY(int count READ count NOTIFY countChanged)
public:
enum Roles { {{struct.fields|map('upperfirst')|join(', ')}} };
- {{class}}(QObject *parent=0);
+ {{class}}(QObject *parent = nullptr);
Q_INVOKABLE Qml{{struct}} get(int index);
int count() const;
void insert(int row, const Qml{{struct}} &{{struct|lower}});