fix compile error

This commit is contained in:
Hamed Masafi 2018-04-03 18:22:52 +04:30
parent dd30844ee5
commit fed16055bc
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ RelationModel *DatabaseModel::relationByTableNames(const QString &masterTableNam
DatabaseModel DatabaseModel::fromJson(QJsonObject &json)
{
DatabaseModel model(QString());
DatabaseModel model;
model.setVersion(json.value(NODE_VERSION).toString());