[Qgis-user] Delete WMS server entries in the block?

Jürgen E. Fischer jef at norbit.de
Tue Sep 26 00:05:38 PDT 2017


On Mon, 25. Sep 2017 at 08:09:34 +0000, Elstermann, Mike wrote:
> How can I delete WMS server entries in the block, NOT individually?

In the python console:

import PyQt.QtCore import QSettings
QSettings().remove("Qgis/connections-wms")



Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170926/b96d128e/attachment.sig>


More information about the Qgis-user mailing list