Skip to content
Snippets Groups Projects
Commit 5c4d511e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

report file and line number also if no message handler is installed

parent 9b4b3728
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
#include <QtGlobal>
#define ASSERT(condition) \
if (!(condition)) \
qFatal("Assertion failed")
qFatal("Assertion failed in " __FILE__ ", line %d", __LINE__)
#else // QT_MESSAGELOGCONTEXT undefined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment