mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdecore: BSD only crash workaround
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c454d8fdc6
commit
56e78a109e
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue