]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XFormsView.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / XFormsView.C
index c93f9d32a3f97b42d1b1fba341e31195b6c29f79..7971cf91ffe87e883c6b69480745732a653f0ae5 100644 (file)
@@ -24,7 +24,7 @@
 #include "frontends/Timeout.h"
 #include "frontends/Dialogs.h"
 #include "MenuBackend.h"
-#include "ToolbarDefaults.h"
+#include "ToolbarBackend.h"
 #include "lyxfunc.h"
 #include "bufferview_funcs.h"
 #include "BufferView.h"
@@ -142,7 +142,7 @@ void XFormsView::create_form_form_main(int width, int height)
 
        menubar_.reset(new Menubar(this, menubackend));
 
-       toolbar_.reset(new Toolbar(this, air, 30 + air + bw, toolbardefaults));
+       toolbar_.reset(new Toolbar(this, air, 30 + air + bw, toolbarbackend));
 
        int const ywork = 60 + 2 * air + bw;
        int const workheight = height - ywork - (25 + 2 * air);