Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added \since QGIS 3.8
  • Loading branch information
elpaso committed Apr 1, 2019
1 parent 77b0e23 commit 0355611
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions python/server/auto_generated/qgsserversettings.sip.in
Expand Up @@ -124,13 +124,17 @@ Returns the cache directory.
Overrides system locale

:return: the optional override for system locale.

.. versionadded:: 3.8
%End

bool showGroupSeparator() const;
%Docstring
Show group (thousand) separator

:return: if group separator must be shown, default to ``False``.

.. versionadded:: 3.8
%End

};
Expand Down
6 changes: 4 additions & 2 deletions src/server/qgsserversettings.h
Expand Up @@ -61,8 +61,8 @@ class SERVER_EXPORT QgsServerSettingsEnv : public QObject
MAX_CACHE_LAYERS,
QGIS_SERVER_CACHE_DIRECTORY,
QGIS_SERVER_CACHE_SIZE,
QGIS_SERVER_SHOW_GROUP_SEPARATOR, //! Show group (thousands) separator when formatting numeric values, defaults to FALSE
QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE, //! Override system locale
QGIS_SERVER_SHOW_GROUP_SEPARATOR, //! Show group (thousands) separator when formatting numeric values, defaults to FALSE (since QGIS 3.8)
QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE, //! Override system locale (since QGIS 3.8)
};
Q_ENUM( EnvVar )
};
Expand Down Expand Up @@ -173,12 +173,14 @@ class SERVER_EXPORT QgsServerSettings
/**
* Overrides system locale
* \returns the optional override for system locale.
* \since QGIS 3.8
*/
QString overrideSystemLocale() const;

/**
* Show group (thousand) separator
* \returns if group separator must be shown, default to FALSE.
* \since QGIS 3.8
*/
bool showGroupSeparator() const;

Expand Down

0 comments on commit 0355611

Please sign in to comment.