| 1124 | } |
| 1125 | |
| 1126 | void ComicModel::finishTransaction() |
| 1127 | { |
| 1128 | { |
| 1129 | QSqlDatabase::database(_databaseConnection).commit(); |
| 1130 | } |
| 1131 | QSqlDatabase::removeDatabase(_databaseConnection); |
| 1132 | } |
| 1133 | |
| 1134 | void ComicModel::removeInTransaction(int row) |
| 1135 | { |