kdecore: BSD only crash workaround

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-07-18 03:09:36 +03:00
parent c454d8fdc6
commit 56e78a109e

View file

@ -655,9 +655,12 @@ void KMimeTypePrivate::ensureXmlDataLoaded() const
}
xml.skipCurrentElement();
}
#warning FIXME: BSD only crash workaround, investigate
#ifdef Q_OS_LINUX
if (xml.name() != "mime-type") {
kFatal() << "Programming error in KMimeType XML loading, please create a bug report on " << BUG_REPORT_URL << "including the file" << fullPath;
}
#endif
}
}