From: Stefano Crocco Date: 2012-09-03T15:39:43+09:00 Subject: Re: Qt signals driving me crazy On Monday 03 September 2012 Damjan Rems wrote > And one more thing. > > I would like to call my own slot function when main window is closed (to > save some settings when program is closed). How can I accomplish this? > > by > TheR > > -- > Posted via http://www.ruby-forum.com/. You can have a look at the documentation for QApplication::lastWindowClosed and QCoreApplication::AboutToQuit. Stefano