summaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h
index 3cd3c96b..d3757645 100644
--- a/src/application.h
+++ b/src/application.h
@@ -134,6 +134,10 @@ public slots:
void newWindow();
void removeMainWindow(MainWindow *window);
+protected:
+ // This is used to track which window was activated most recently
+ bool eventFilter(QObject *watched, QEvent *event);
+
private slots:
/**
* Any actions that can be delayed until the window is visible