QMessageBox crashes everytime inside the function?

Printable View