1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 18:52:30 +01:00

Add check for empty project file

This commit is contained in:
kelteseth 2017-11-20 11:10:23 +01:00
parent 8e1df7b9e8
commit 8fe2f09e75

View File

@ -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)