Hi all.

I'm working on a little destkop gui app and use QSettings to save settings to ini file, so they can be loaded on next app run. I have some lineEdit components on form where user puts settings, so to load settings I call my method to load settings from the MainWindow constructor, but don't know where to call my save settings method. I know I could make a separate button ("Save settings") for this, but would rather have it triggered somewhere automatically. I can not save settings on MainWindow destructor, where would you put it, much thanks.