From 8cbf143592d99ed62a81bd58f6a0748805ca38d7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 10 Oct 2017 14:40:07 +0300 Subject: [PATCH] Cppcheck. --HG-- branch : develop --- src/app/valentina/dialogs/dialoglayoutsettings.cpp | 4 +++- src/app/valentina/dialogs/dialoglayoutsettings.h | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) 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;