diff options
author | Louie S <louie@example.com> | 2024-03-15 16:12:05 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-15 16:12:05 -0400 |
commit | 4c2c8bc81df55ab2f0112d16bfd1a9d236b51e6d (patch) | |
tree | 1b44d7e3cf55d22582bd697dce792f7994d3f616 /src/backend/db_sqlite.cpp | |
parent | d732bd0f74225828455c5863444b0211faf586d0 (diff) |
Load and apply rules to entries
Diffstat (limited to 'src/backend/db_sqlite.cpp')
-rw-r--r-- | src/backend/db_sqlite.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/db_sqlite.cpp b/src/backend/db_sqlite.cpp index f48089b..4e62153 100644 --- a/src/backend/db_sqlite.cpp +++ b/src/backend/db_sqlite.cpp @@ -358,7 +358,6 @@ int BackendDB::removeEntry(const Entry &entry) { query.bindValue(0, entry.id); query.exec(); - // FIXME not sure if this also needs to be called after the first query... output = query.numRowsAffected(); } @@ -378,7 +377,6 @@ int BackendDB::removeRule(const Rule &rule) { query.bindValue(0, rule.id); query.exec(); - // FIXME not sure if this also needs to be called after the first query... output = query.numRowsAffected(); } @@ -418,7 +416,7 @@ QSqlDatabase BackendDB::openDB() { database.open(); if(database.isOpenError()) { - // FIXME end-user friendly error message + // TODO end-user friendly error message qDebug() << database.lastError(); std::exit(1); } |