--- a/src/dialogs/newpartdialog.cpp Mon Mar 06 00:36:40 2017 +0200 +++ b/src/dialogs/newpartdialog.cpp Mon Mar 06 00:40:23 2017 +0200 @@ -21,15 +21,15 @@ #include <QCheckBox> #include "../lddocument.h" #include "../mainwindow.h" -#include "newpartdialog.h" -#include "ui_newpartdialog.h" #include "../linetypes/comment.h" #include "../linetypes/empty.h" +#include "../miscallenous.h" +#include "newpartdialog.h" +#include "ui_newpartdialog.h" NewPartDialog::NewPartDialog (QWidget *parent) : - QDialog (parent), - HierarchyElement (parent), - ui (*new Ui_NewPart) + QDialog {parent}, + ui {*new Ui_NewPart} { ui.setupUi (this);