mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
Minor fixes
This commit is contained in:
parent
ae184f929d
commit
1b9ae68574
@ -208,8 +208,6 @@ void DatabaseManager::updateTrafficList(const QStmtList &insertStmtList,
|
||||
int i = 0;
|
||||
foreach (SqliteStmt *stmtUpdate, updateStmtList) {
|
||||
if (!updateTraffic(stmtUpdate, inBytes, outBytes, appId)) {
|
||||
qDebug() << "!Insert -> Update>";
|
||||
|
||||
SqliteStmt *stmtInsert = insertStmtList.at(i);
|
||||
updateTraffic(stmtInsert, inBytes, outBytes, appId);
|
||||
}
|
||||
|
@ -45,9 +45,6 @@ void TrafListModel::reset()
|
||||
m_rowCache.invalidate();
|
||||
|
||||
endResetModel();
|
||||
|
||||
m_databaseManager->debugApps();
|
||||
m_databaseManager->debugTraffic();
|
||||
}
|
||||
|
||||
int TrafListModel::rowCount(const QModelIndex &parent) const
|
||||
|
Loading…
Reference in New Issue
Block a user