diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index c01dbeb0c..4946e7fa0 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -604,7 +604,7 @@ VAbstractLayoutDialog::PaperSizeTemplate VCommandLine::OptTiledPaperSize() const } //--------------------------------------------------------------------------------------------------------------------- -PageOrientation VCommandLine::OptTiledPageOrientation() +PageOrientation VCommandLine::OptTiledPageOrientation() const { return static_cast(not IsOptionSet(LONG_OPTION_TILED_PDF_LANDSCAPE)); } diff --git a/src/app/valentina/core/vcmdexport.h b/src/app/valentina/core/vcmdexport.h index 89e447f93..c6aefe41e 100644 --- a/src/app/valentina/core/vcmdexport.h +++ b/src/app/valentina/core/vcmdexport.h @@ -134,7 +134,7 @@ public: QMarginsF TiledPageMargins() const; VAbstractLayoutDialog::PaperSizeTemplate OptTiledPaperSize() const; - PageOrientation OptTiledPageOrientation(); + PageOrientation OptTiledPageOrientation() const; protected: