Remove Q_ASSERT from QXmlInputSource autotest
Report a fatal error in all builds rather than aborting in debug mode builds only. Change-Id: I53b348f077c6533433e32bbebd159066a2bc2c37 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 4f818b8bcf51cf9c654edbf319d90f6c77a09b3e)
This commit is contained in:
parent
f5662adb03
commit
803f6117ca
@ -181,9 +181,7 @@ private slots:
|
||||
{
|
||||
if(bodyLength == -1)
|
||||
{
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO,
|
||||
"No length was specified in the header.");
|
||||
return;
|
||||
qFatal("No length was specified in the header.");
|
||||
}
|
||||
|
||||
QDomDocument domDoc;
|
||||
|
Loading…
Reference in New Issue
Block a user