summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoshow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoshow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/todo/todoshow.cpp b/core/pim/todo/todoshow.cpp
index c84a08f..4dbc9aa 100644
--- a/core/pim/todo/todoshow.cpp
+++ b/core/pim/todo/todoshow.cpp
@@ -1 +1,3 @@
+
+#include "mainwindow.h"
#include "todoshow.h"
@@ -4,3 +6,4 @@ using namespace Todo;
-TodoShow::TodoShow() {
+TodoShow::TodoShow(MainWindow* win) {
+ m_win = win;
}
@@ -8,2 +11,6 @@ TodoShow::~TodoShow() {
}
+void TodoShow::escapeView() {
+ if (m_win )
+ m_win->slotReturnFromView();
+}