mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add check for empty project file
This commit is contained in:
parent
8e1df7b9e8
commit
8fe2f09e75
@ -96,13 +96,14 @@ void InstalledListModel::loadScreens()
|
||||
if(jsonProject.object().value("type").toString() == "scene")
|
||||
continue;
|
||||
|
||||
if(jsonProject.isEmpty())
|
||||
continue;
|
||||
|
||||
if(jsonProject.object().empty())
|
||||
continue;
|
||||
|
||||
append(jsonProject.object(), item.baseName());
|
||||
}
|
||||
QFuture<void> future = QtConcurrent::run([&]() {
|
||||
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
QVariantMap InstalledListModel::get(QString folderId)
|
||||
|
Loading…
Reference in New Issue
Block a user