Avoid some errors (less noisy log)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@@ -136,6 +136,10 @@ void ResourceFolderLoadTask::getFromMetadata()
|
|||||||
{
|
{
|
||||||
m_index_dir.refresh();
|
m_index_dir.refresh();
|
||||||
for (auto entry : m_index_dir.entryList(QDir::Files)) {
|
for (auto entry : m_index_dir.entryList(QDir::Files)) {
|
||||||
|
if (!entry.endsWith(".pw.toml")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
auto metadata = Metadata::get(m_index_dir, entry);
|
auto metadata = Metadata::get(m_index_dir, entry);
|
||||||
|
|
||||||
if (!metadata.isValid())
|
if (!metadata.isValid())
|
||||||
|
|||||||
Reference in New Issue
Block a user