Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.6.0
-
None
-
ecceaec8581886e5215ab10c8f5c702e315cb397
Description
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.
Attachments
For Gerrit Dashboard: QTBUG-59919 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
190620,6 | Adds a note to QSqlDatabase::~QSqlDatabase documentation | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |