We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9f069 commit 7ec57a3Copy full SHA for 7ec57a3
parts/exd/schema.cpp
@@ -15,6 +15,9 @@ Schema::Schema(const QString &path)
15
QFile file(path);
16
file.open(QIODevice::ReadOnly);
17
auto bytes = file.readAll();
18
+ if (bytes.isEmpty()) {
19
+ return;
20
+ }
21
22
const auto tree = ryml::parse_in_place(bytes.data());
23
if (tree.has_child(tree.root_id(), "fields")) {
0 commit comments