We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a7dcf3 commit fdbb86aCopy full SHA for fdbb86a
src/core/model.cpp
@@ -9,5 +9,6 @@ QHash<int, QByteArray> UntypedObjectModel::roleNames() const {
9
}
10
11
UntypedObjectModel* UntypedObjectModel::emptyInstance() {
12
- return ObjectModel<void>::emptyInstance();
+ static auto* instance = new ObjectModel<void>(nullptr);
13
+ return instance;
14
0 commit comments