if it's QProgressDialog receiving that event (and stopping it), you can subclass QProgressDialog and override event(QEvent *event) method like this:
where parent of your dialog is the object where you want that event to receive. If not, you can pass a pointer to object via constructor.Qt Code:
{ { return true; } }To copy to clipboard, switch view to plain text mode
Bookmarks