Saves and restores state of QSplitter in MainWindow