Skip to content

Commit

Permalink
Fix incorrect reference to non-existing DONT_LOAD_LAYOUTS flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 31, 2020
1 parent 23c7bd6 commit 403b214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/server/auto_generated/qgsserversettings.sip.in
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/server/qgsserversettings.h
Expand Up @@ -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.
Expand Down

0 comments on commit 403b214

Please sign in to comment.