Using lower case role names for improved compatibility with the server.
This commit is contained in:
@ -16,6 +16,7 @@ QByteArray TableModel::generateExampleItems() {
|
||||
QJsonObject rootObject;
|
||||
QJsonArray array;
|
||||
|
||||
// TODO use JsonParser for the item generation
|
||||
for (int row = 0; row < 5; ++row) {
|
||||
QJsonObject itemObject;
|
||||
// itemObject.insert("uuid", m_uuid.toString());
|
||||
|
||||
Reference in New Issue
Block a user