# HG changeset patch # User Daniel J Sebald # Date 1365705656 14400 # Node ID 9ff3181e671c0eafa22fc1a8ad4866e0eac62f76 # Parent d3b01ae21259d3f57fd233b727a065cd18a6045c Reconnect aboutToQuit signal and prepare_to_exit (write_settings) slot. * main-window.cc (main_window::construct): Connect qApp::aboutToQuit to main_window::prepare_to_exit. diff -r d3b01ae21259 -r 9ff3181e671c libgui/src/main-window.cc --- a/libgui/src/main-window.cc Thu Apr 11 12:02:44 2013 -0400 +++ b/libgui/src/main-window.cc Thu Apr 11 14:40:56 2013 -0400 @@ -542,6 +542,9 @@ construct_tool_bar (); + connect (qApp, SIGNAL (aboutToQuit ()), + this, SLOT (prepare_to_exit ())); + connect (this, SIGNAL (settings_changed (const QSettings *)), this, SLOT (notice_settings (const QSettings *)));