| 1109 | } |
| 1110 | |
| 1111 | void SQLiteDB::setObjectSize(int ohfi, qint64 size) |
| 1112 | { |
| 1113 | QSqlQuery query; |
| 1114 | query.prepare("UPDATE sources SET size = :size WHERE object_id = :object_id"); |
| 1115 | query.bindValue(0, size); |
| 1116 | query.bindValue(1, ohfi); |
| 1117 | if(!query.exec()) { |
| 1118 | qDebug() << query.lastError(); |
| 1119 | } |
| 1120 | } |
| 1121 | |
| 1122 | qint64 SQLiteDB::getChildenTotalSize(int ohfi) |
| 1123 | { |
nothing calls this directly
no outgoing calls
no test coverage detected