]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCharacter.cpp
Some improvements to the graphics dialog
[lyx.git] / src / frontends / qt4 / GuiCharacter.cpp
index ff7cc5d10ee421729b53d861ee6bac79a3973de8..1e92db848de5eb830c33e293d1b066c2514529fd 100644 (file)
@@ -466,10 +466,9 @@ void GuiCharacter::dispatchParams()
 }
 
 
-void GuiCharacter::saveSession() const
+void GuiCharacter::saveSession(QSettings & settings) const
 {
-       Dialog::saveSession();
-       QSettings settings;
+       Dialog::saveSession(settings);
        settings.setValue(sessionKey() + "/toggleall", toggleallCB->isChecked());
        settings.setValue(sessionKey() + "/autoapply", autoapplyCB->isChecked());
 }