diff --git a/core/merginprojectmetadata.cpp b/core/merginprojectmetadata.cpp index 9609087fa..ba1ff95c3 100644 --- a/core/merginprojectmetadata.cpp +++ b/core/merginprojectmetadata.cpp @@ -100,16 +100,6 @@ MerginProjectMetadata MerginProjectMetadata::fromJson( const QByteArray &data ) project.name = docObj.value( QStringLiteral( "name" ) ).toString(); project.projectNamespace = docObj.value( QStringLiteral( "namespace" ) ).toString(); - QJsonValue access = docObj.value( QStringLiteral( "access" ) ); - if ( access.isObject() ) - { - QJsonArray writersnames = access.toObject().value( "writersnames" ).toArray(); - for ( QJsonValueRef tag : writersnames ) - { - project.writersnames.append( tag.toString() ); - } - } - QString versionStr = docObj.value( QStringLiteral( "version" ) ).toString(); if ( versionStr.isEmpty() ) { diff --git a/core/merginprojectmetadata.h b/core/merginprojectmetadata.h index b56edf89d..b4bd178c8 100644 --- a/core/merginprojectmetadata.h +++ b/core/merginprojectmetadata.h @@ -59,7 +59,6 @@ struct MerginProjectMetadata { QString name; QString projectNamespace; - QList writersnames; int version = -1; QList files; QString projectId; //!< unique project ID (only available in API that supports project IDs)