Qt : crash due to delete (trying to handle exceptions...)
- by Seub
I am writing a program with Qt, and I would like it to show a dialog box with a Exit | Restart choice whenever an error is thrown somewhere in the code.
What I did causes a crash and I really can't figure out why it happens, I was hoping you could help me understanding what's going on.
Here's my main.cpp:
#include "my_application.hpp"
int…