diff options
author | Ulf Hermann <[email protected]> | 2025-02-26 13:30:34 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2025-03-01 09:03:00 +0100 |
commit | 00317d40ee06e5750bc8f7857c0380495f99a52c (patch) | |
tree | 99df3302055826f483b3fca4668dca8d8d81e7b9 /src/qmlmodels/qqmlobjectmodel.cpp | |
parent | 741a446dc376c39009f6438a7d08b9b2caa19434 (diff) |
QmlModels: Clean up some virtual functions and dtors
Virtual functions shouldn't be inline, and non-virtual empty dtors are
unnecessary.
Change-Id: I86b6c6b1d0135f4076c0c3f8287f314c3f007b78
Reviewed-by: Olivier De Cannière <[email protected]>
Diffstat (limited to 'src/qmlmodels/qqmlobjectmodel.cpp')
-rw-r--r-- | src/qmlmodels/qqmlobjectmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlmodels/qqmlobjectmodel.cpp b/src/qmlmodels/qqmlobjectmodel.cpp index 4aa34e5e6e..de8f84d220 100644 --- a/src/qmlmodels/qqmlobjectmodel.cpp +++ b/src/qmlmodels/qqmlobjectmodel.cpp @@ -264,6 +264,8 @@ QQmlObjectModel::QQmlObjectModel(QObject *parent) { } +QQmlObjectModel::~QQmlObjectModel() = default; + /*! \qmlattachedproperty int QtQml.Models::ObjectModel::index This attached property holds the index of this delegate's item within the model. |