diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.cpp b/src/app/valentina/dialogs/dialoglayoutsettings.cpp index db687c173..dcca41670 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.cpp +++ b/src/app/valentina/dialogs/dialoglayoutsettings.cpp @@ -44,7 +44,9 @@ DialogLayoutSettings::DialogLayoutSettings(VLayoutGenerator *generator, QWidget disableSettings(disableSettings), ui(new Ui::DialogLayoutSettings), oldPaperUnit(Unit::Mm), - oldLayoutUnit(Unit::Mm), generator(generator), isInitialized(false) + oldLayoutUnit(Unit::Mm), + generator(generator), + isInitialized(false) { ui->setupUi(this); diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.h b/src/app/valentina/dialogs/dialoglayoutsettings.h index 43d157796..6c3bd9231 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.h +++ b/src/app/valentina/dialogs/dialoglayoutsettings.h @@ -130,9 +130,6 @@ private slots: void IgnoreAllFields(int state); private: Q_DISABLE_COPY(DialogLayoutSettings) - typedef QStringList FormatsVector; - typedef int VIndexType; - const static FormatsVector pageFormatNames; bool disableSettings;