Change variable name to clarify the getter purpose

This commit is contained in:
Matthias Kuhn 2019-11-29 18:15:33 +01:00
parent d10ec078d1
commit 841086046f
3 changed files with 3 additions and 3 deletions

View File

@ -1480,7 +1480,7 @@ namespace QgsWms
return filters;
}
bool QgsWmsParameters::force2D() const
bool QgsWmsParameters::isForce2D() const
{
bool force2D = false;
const QMap<DxfFormatOption, QString> options = dxfFormatOptions();

View File

@ -1325,7 +1325,7 @@ namespace QgsWms
*
* \since QGIS 3.12
*/
bool force2D() const;
bool isForce2D() const;
private:
static bool isExternalLayer( const QString &name );

View File

@ -848,7 +848,7 @@ namespace QgsWms
dxf->setSymbologyScale( mWmsParameters.dxfScale() );
}
dxf->setForce2d( mWmsParameters.force2D() );
dxf->setForce2d( mWmsParameters.isForce2D() );
QgsDxfExport::Flags flags;
if ( mWmsParameters.noMText() )
flags.setFlag( QgsDxfExport::Flag::FlagNoMText );