diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-01 17:06:29 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-01 17:08:16 +0200 |
commit | ce19cf9c61bfe241e736ab28c7dbb01a08325d69 (patch) | |
tree | 63001aab412d014a1d01a3a45dae38572db91f48 /plugingui/testmain.cc | |
parent | a51479061c5fdcfbd9fabb14f4b597f2748d919d (diff) |
Fix closing of MainWindow.
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r-- | plugingui/testmain.cc | 2 |
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(); |