aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-05-15 12:09:36 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-05-15 10:10:20 +0000
commit26354f4a275e059a10754515e6ccacb41cc9dfe5 (patch)
tree7d150ea8e8755db12b352667fab0ace0ed8f6e66
parent7ae91977c3bea806ffe962fdf5582252cd10e43a (diff)
QmlDesigner: Do not always assert
Change-Id: Ie2d8ea01aaa637c336bd404c1a9e1489595589c3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/designercore/exceptions/exception.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp b/src/plugins/qmldesigner/designercore/exceptions/exception.cpp
index 44022d74cb..486e5bec2b 100644
--- a/src/plugins/qmldesigner/designercore/exceptions/exception.cpp
+++ b/src/plugins/qmldesigner/designercore/exceptions/exception.cpp
@@ -85,7 +85,6 @@ void Exception::setShouldAssert(bool assert)
bool Exception::shouldAssert()
{
- return true;
return s_shouldAssert;
}