summaryrefslogtreecommitdiff
path: root/src/entryLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entryLayout.cpp')
-rw-r--r--src/entryLayout.cpp5
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();
}