]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormParagraph.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormParagraph.C
index 30530f7a1afa042ac108cf4d5c8f33231f0b7f0e..ed583bc0b74f32ff4e2f9fd6fece2fad4bb76ae0 100644 (file)
@@ -61,10 +61,10 @@ void setWidgetsFromVSpace(VSpace const & space,
 } // namespace anon
 
 
-typedef FormCB<ControlParagraph, FormDB<FD_paragraph> > base_class;
+typedef FormController<ControlParagraph, FormView<FD_paragraph> > base_class;
 
-FormParagraph::FormParagraph()
-       : base_class(_("Paragraph Layout"))
+FormParagraph::FormParagraph(Dialog & parent)
+       : base_class(parent, _("Paragraph Layout"))
 {}