Skip to content
Permalink
Browse files

Fix incorrect reference to non-existing DONT_LOAD_LAYOUTS flag

  • Loading branch information
nyalldawson committed Aug 31, 2020
1 parent 23c7bd6 commit 403b2142ee0acdc7ffbffaf1e6a77703f25fb0f7
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/server/auto_generated/qgsserversettings.sip.in
  2. +1 −1 src/server/qgsserversettings.h
@@ -261,7 +261,7 @@ variable QGIS_SERVER_TRUST_LAYER_METADATA.
bool getPrintDisabled() const;
%Docstring
Returns ``True`` if WMS GetPrint request is disabled and the project's
reading flag DONT_LOAD_LAYOUTS is activated.
reading flag QgsProject.ReadFlag.FlagDontLoadLayouts is activated.

The default value is ``False``, this value can be changed by setting the environment
variable QGIS_SERVER_DISABLE_GETPRINT.
@@ -264,7 +264,7 @@ class SERVER_EXPORT QgsServerSettings

/**
* Returns TRUE if WMS GetPrint request is disabled and the project's
* reading flag DONT_LOAD_LAYOUTS is activated.
* reading flag QgsProject::ReadFlag::FlagDontLoadLayouts is activated.
*
* The default value is FALSE, this value can be changed by setting the environment
* variable QGIS_SERVER_DISABLE_GETPRINT.

0 comments on commit 403b214

Please sign in to comment.
You can’t perform that action at this time.