How to abort a QAbstractSocket waitForConnected
Hello,
I need to know if it is possible to abort a QAbstractSocket::waitForConnected() call. For example, if I call it with 20000 ms but the user wants to exit the program, if I don't abort it, the user will have to wait 20 seconds.
I've tried abort() method but it won't work.
Thank you.