summaryrefslogtreecommitdiff
path: root/plugingui/testmain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 0bbd21f..c565a38 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -47,6 +47,8 @@ int main()
Settings settings;
GUI::MainWindow main_window(settings, parent.getNativeWindowHandle());
+ CONNECT(&parent, eventHandler()->closeNotifier,
+ &main_window, &GUI::MainWindow::closeEventHandler);
parent.show();
main_window.show();