The description of QSqlDatabase::~QSqlDatabase should be extended:
Destroys the object and frees any allocated resources.
It should also be mentioned that it implicitly calls close() to properly release the DB connection when the last connection alias is released. So the programmer has not to worry about that.
I think this is important to mention.
|For Gerrit Dashboard: QTBUG-59919|
|190620,6||Adds a note to QSqlDatabase::~QSqlDatabase documentation||5.8||qt/qtbase||Status: MERGED||+2||0|