From d695d76383b60dfcca8686f0da8c31e21f95076a Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Tue, 8 Oct 2024 08:40:23 +0200 Subject: [PATCH] bump to 3.40 --- swiss_locator/core/filters/swiss_locator_filter.py | 5 ++--- swiss_locator/metadata.txt | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/swiss_locator/core/filters/swiss_locator_filter.py b/swiss_locator/core/filters/swiss_locator_filter.py index 297ca26..26fec1a 100644 --- a/swiss_locator/core/filters/swiss_locator_filter.py +++ b/swiss_locator/core/filters/swiss_locator_filter.py @@ -61,8 +61,7 @@ from swiss_locator.core.settings import Settings from swiss_locator.core.language import get_language -if Qgis.QGIS_VERSION_INT >= 33900: - from swiss_locator.gui.config_dialog import ConfigDialog +from swiss_locator.gui.config_dialog import ConfigDialog from swiss_locator.gui.maptip import MapTip from swiss_locator.gui.qtwebkit_conf import with_qt_web_kit from swiss_locator.utils.utils import url_with_param @@ -195,7 +194,7 @@ def clearPreviousResults(self): self.current_timer = None def hasConfigWidget(self): - return Qgis.QGIS_VERSION_INT >= 33900 + return True def openConfigWidget(self, parent=None): dlg = ConfigDialog(parent) diff --git a/swiss_locator/metadata.txt b/swiss_locator/metadata.txt index 72a612b..e64469e 100644 --- a/swiss_locator/metadata.txt +++ b/swiss_locator/metadata.txt @@ -1,7 +1,7 @@ [general] name=Swiss Locator -qgisMinimumVersion=3.34 +qgisMinimumVersion=3.40 description=A locator filter for Swiss Geoportal (geo.admin.ch) and opendata.swiss resources about=Search for locations, WMS layers of features in the whole Swiss Geoportal catalog as well as in opendata.swiss version=dev