From 422570e235958442f033dfe213e4217b93f3c4ab Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sun, 4 Aug 2019 22:55:41 +0200 Subject: Translatable enum can be protected --- src/extension/prefdialog/widget.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/extension/prefdialog/widget.h b/src/extension/prefdialog/widget.h index 7887f5579..31fe957f1 100644 --- a/src/extension/prefdialog/widget.h +++ b/src/extension/prefdialog/widget.h @@ -39,11 +39,6 @@ class Extension; */ class InxWidget { public: - - enum Translatable { - UNSET, YES, NO - }; - InxWidget(Inkscape::XML::Node *in_repr, Inkscape::Extension::Extension *in_ext); virtual ~InxWidget(); @@ -81,6 +76,10 @@ public: const static int GUI_MAX_LINE_LENGTH = 60; protected: + enum Translatable { + UNSET, YES, NO + }; + /** Which extension is this Widget attached to. */ Inkscape::Extension::Extension *_extension = nullptr; -- cgit v1.2.3