Minor fixes

This commit is contained in:
Nodir Temirkhodjaev 2017-12-09 14:55:56 +05:00
parent ae184f929d
commit 1b9ae68574
2 changed files with 0 additions and 5 deletions

View File

@ -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);
}

View File

@ -45,9 +45,6 @@ void TrafListModel::reset()
m_rowCache.invalidate();
endResetModel();
m_databaseManager->debugApps();
m_databaseManager->debugTraffic();
}
int TrafListModel::rowCount(const QModelIndex &parent) const