mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix wmsMaxHeightEnv leftover code
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
This commit is contained in:
parent
f6970faa84
commit
c1546d9dcb
@ -1905,7 +1905,7 @@ namespace QgsWms
|
||||
int wmsMaxHeightProj = QgsServerProjectUtils::wmsMaxHeight( *mProject );
|
||||
int wmsMaxHeightEnv = mContext.settings().wmsMaxHeight();
|
||||
int wmsMaxHeight;
|
||||
if ( wmsMaxWidthEnv != -1 && wmsMaxWidthProj != -1 )
|
||||
if ( wmsMaxHeightEnv != -1 && wmsMaxHeightProj != -1 )
|
||||
{
|
||||
// both are set, so we take the more conservative one
|
||||
wmsMaxHeight = std::min( wmsMaxHeightProj, wmsMaxHeightEnv );
|
||||
|
Loading…
x
Reference in New Issue
Block a user