fix build

Sun, 13 Mar 2022 20:11:06 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 13 Mar 2022 20:11:06 +0200
changeset 181
79de20dc6a1e
parent 180
5b7a8f2270ff
child 182
27fb1c3c9fbb

fix build

src/ui/objecteditor.cpp file | annotate | diff | comparison | revisions
src/ui/objecteditor.h file | annotate | diff | comparison | revisions
--- a/src/ui/objecteditor.cpp	Sun Mar 13 18:46:10 2022 +0200
+++ b/src/ui/objecteditor.cpp	Sun Mar 13 20:11:06 2022 +0200
@@ -3,11 +3,13 @@
 #include <QPushButton>
 #include <QLabel>
 #include <QSpinBox>
+#include <QSplitter>
 #include "objecteditor.h"
 #include "document.h"
 #include "modeleditor.h"
 #include "widgets/colorbutton.h"
 #include "widgets/colorindexinput.h"
+#include "widgets/vec3editor.h"
 
 template<ldraw::Property property>
 static void makeColorEditor()
@@ -28,7 +30,6 @@
 	objectTitleLayoutContainer->setLayout(objectTitleLayout);
 	objectTitleLayout->addWidget(this->objectTypeIconLabel);
 	objectTitleLayout->addWidget(this->objectTypeNameLabel);
-	objectTitleLayout->addWidget(new QSplitter{Qt::Horizontal, this});
 	this->layout()->addWidget(objectTitleLayoutContainer);
 	this->layout()->addWidget(formContainer);
 	this->setObjectId(id);
--- a/src/ui/objecteditor.h	Sun Mar 13 18:46:10 2022 +0200
+++ b/src/ui/objecteditor.h	Sun Mar 13 20:11:06 2022 +0200
@@ -2,7 +2,6 @@
 #include <QWidget>
 #include "../main.h"
 #include "../model.h"
-#include "polygonobjecteditor.h"
 
 class Document;
 

mercurial