]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormPreferences.C
*duck*
[features.git] / src / frontends / xforms / FormPreferences.C
index 0a5fa59d02d8b063f67df8712db0c48254013d85..9ebb1914800e3351670268e56f3ded6b494b0a12 100644 (file)
@@ -70,8 +70,8 @@ Converters local_converters;
 } // namespace anon
 
 
-FormPreferences::FormPreferences(LyXView * lv, Dialogs * d)
-       : FormBaseBI(lv, d, _("Preferences"), false),
+FormPreferences::FormPreferences(LyXView & lv, Dialogs & d)
+       : FormBaseBI(&lv, &d, _("Preferences"), false),
          colors_(*this), converters_(*this), inputs_misc_(*this),
          formats_(*this), interface_(*this), language_(*this),
          lnf_misc_(*this), outputs_misc_(*this), paths_(*this),
@@ -80,8 +80,12 @@ FormPreferences::FormPreferences(LyXView * lv, Dialogs * d)
        // let the dialog be shown
        // This is a permanent connection so we won't bother
        // storing a copy because we won't be disconnecting.
+#if 0
        d->showPreferences = boost::bind(&FormPreferences::show, this);
+#endif
+#if 0
        d->showSpellcheckerPreferences = boost::bind(&FormPreferences::showSpellPref, this);
+#endif
 }