Use Q_ASSERT instead of Q_CHECK_PTR for plain checks of a pointer value

Q_CHECK_PTR (other than the name suggests) is intended only to check the success of memory allocations. Using it for any pointers instead can be misleading due to the "Out of memory" log printed in case of hits.

Merge request reports

Loading