diff options
author | Louie S <louie@example.com> | 2024-03-12 18:49:47 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-12 18:49:47 -0400 |
commit | 2e4227a8875dc9a25dd92d46d2f71eff7ae1499a (patch) | |
tree | 92a2ccaaf0cfaff3effa519b69496bfe3147cdca /src/entryLayout.cpp | |
parent | e0608b1e0891c5782ffbc291788268e76d494d4e (diff) |
Implement removeEntry
Diffstat (limited to 'src/entryLayout.cpp')
-rw-r--r-- | src/entryLayout.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entryLayout.cpp b/src/entryLayout.cpp index eff8f1e..48b2888 100644 --- a/src/entryLayout.cpp +++ b/src/entryLayout.cpp @@ -135,5 +135,8 @@ void EntryLayout::toggleDone() { } void EntryLayout::removeEntry() { - qDebug() << "WIP"; + BackendDB database; + + if(database.removeEntry(this->entry) > 0) + getMainWindow()->displayWidgets(); } |