diff --git a/src/app/valentina/core/vcmdexport.h b/src/app/valentina/core/vcmdexport.h index c6aefe41e..7928cf8d2 100644 --- a/src/app/valentina/core/vcmdexport.h +++ b/src/app/valentina/core/vcmdexport.h @@ -42,6 +42,12 @@ class VCommandLine; using VCommandLinePtr = std::shared_ptr; using VLayoutGeneratorPtr = std::shared_ptr; +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Weffc++") + +/** + * @brief The VCommandLineOption class wrapper for class QCommandLineOption. Add support for containers. + */ class VCommandLineOption : public QCommandLineOption { public: @@ -57,6 +63,8 @@ public: : QCommandLineOption(names, description, valueName, defaultValue) {} }; +QT_WARNING_POP + //@brief: class used to install export command line options and parse their values //QCommandLineParser* object must exists until this object alive class VCommandLine