Prevent Qt from crashing PV by only showing the first error