From 1b9ae68574079c08ca763706edd086a61e8f40ba Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Sat, 9 Dec 2017 14:55:56 +0500 Subject: [PATCH] Minor fixes --- src/ui/db/databasemanager.cpp | 2 -- src/ui/log/model/traflistmodel.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/ui/db/databasemanager.cpp b/src/ui/db/databasemanager.cpp index 105d47a6..df17c369 100644 --- a/src/ui/db/databasemanager.cpp +++ b/src/ui/db/databasemanager.cpp @@ -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); } diff --git a/src/ui/log/model/traflistmodel.cpp b/src/ui/log/model/traflistmodel.cpp index 50f56a2e..c1a0a7f8 100644 --- a/src/ui/log/model/traflistmodel.cpp +++ b/src/ui/log/model/traflistmodel.cpp @@ -45,9 +45,6 @@ void TrafListModel::reset() m_rowCache.invalidate(); endResetModel(); - - m_databaseManager->debugApps(); - m_databaseManager->debugTraffic(); } int TrafListModel::rowCount(const QModelIndex &parent) const