Qt error commit