Mon, 06 Mar 2017 00:36:40 +0200
ColorSelector is no longer a HierarchyElement.
src/dialogs/colorselector.cpp | file | annotate | diff | comparison | revisions | |
src/dialogs/colorselector.h | file | annotate | diff | comparison | revisions |
--- a/src/dialogs/colorselector.cpp Mon Mar 06 00:35:47 2017 +0200 +++ b/src/dialogs/colorselector.cpp Mon Mar 06 00:36:40 2017 +0200 @@ -34,7 +34,6 @@ */ ColorSelector::ColorSelector(QWidget* parent, LDColor defaultColor) : QDialog {parent}, - HierarchyElement {parent}, ui {*new Ui_ColorSelUi}, m_selectedColor {LDColor::nullColor} {
--- a/src/dialogs/colorselector.h Mon Mar 06 00:35:47 2017 +0200 +++ b/src/dialogs/colorselector.h Mon Mar 06 00:36:40 2017 +0200 @@ -20,12 +20,11 @@ #include <QDialog> #include "../main.h" #include "../colors.h" -#include "../hierarchyelement.h" /* * Implements a dialog that asks the user to choose an LDraw color from a grid of available colors. Direct colors are also supported. */ -class ColorSelector : public QDialog, public HierarchyElement +class ColorSelector : public QDialog { Q_OBJECT