src/ui/objecteditor.cpp

changeset 181
79de20dc6a1e
parent 180
5b7a8f2270ff
child 182
27fb1c3c9fbb
--- 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);

mercurial