Hello everyone, I have an issue trying to do a few things if an unexpected connection loss occurs, that is, a database disconnection.
My approach was using a method isOpen()*on a *QSqlDatabase object,
which is apparently unreliable for this scenario (it keeps returning true even when db connection is lost)
Can anyone direct me on how to do this detection?
↧