Fix settings key

This commit is contained in:
Nyall Dawson 2024-06-03 12:16:25 +10:00
parent 3ace4676fa
commit 762f720a29
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
#include "qgsmeshlayerlabeling.h"
const QgsSettingsEntryBool *QgsMapRendererJob::settingsLogCanvasRefreshEvent = new QgsSettingsEntryBool( QStringLiteral( "logCanvasRefreshEvent" ), QgsSettingsTree::sTreeMap, false );
const QgsSettingsEntryString *QgsMapRendererJob::settingsMaskBackend = new QgsSettingsEntryString( QStringLiteral( "maskBackend" ), QgsSettingsTree::sTreeMap, QString(), QStringLiteral( "Backend engine to use for selective masking" ) );
const QgsSettingsEntryString *QgsMapRendererJob::settingsMaskBackend = new QgsSettingsEntryString( QStringLiteral( "mask-backend" ), QgsSettingsTree::sTreeMap, QString(), QStringLiteral( "Backend engine to use for selective masking" ) );
///@cond PRIVATE

View File

@ -1356,7 +1356,7 @@ class TestSelectiveMaskingQPainterPathBackend(QgisTestCase, SelectiveMaskingTest
@classmethod
def setUpClass(cls):
QgsSettings().setValue('map/maskBackend', 'qpainterpath')
QgsSettings().setValue('map/mask-backend', 'qpainterpath')
QgisTestCase.setUpClass()
def setUp(self):
@ -1373,7 +1373,7 @@ class TestSelectiveMaskingGeometryBackend(QgisTestCase, SelectiveMaskingTestBase
@classmethod
def setUpClass(cls):
QgsSettings().setValue('map/maskBackend', 'geometry')
QgsSettings().setValue('map/mask-backend', 'geometry')
QgisTestCase.setUpClass()
def setUp(self):