]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LayoutBox.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / LayoutBox.h
index e520e3c0a8dcaf70051d40b953e4b019473e906d..3ea92325f13852decab9496c31476e5d9d1f2dc1 100644 (file)
@@ -20,8 +20,6 @@
 
 #include <QComboBox>
 
-class QToolBar;
-
 namespace lyx {
 
 class DocumentClass;
@@ -36,7 +34,8 @@ class LayoutBox : public QComboBox
 {
        Q_OBJECT
 public:
-       LayoutBox(QToolBar *, GuiView &);
+       LayoutBox(GuiView &);
+       ~LayoutBox();
 
        /// select the right layout in the combobox.
        void set(docstring const & layout);
@@ -62,7 +61,7 @@ private Q_SLOTS:
 
 private:
        friend class LayoutItemDelegate;
-       struct Private;
+       class Private;
        Private * const d;
 };