@@ -696,7 +696,7 @@ def add_to_ows(self):
696
696
697
697
caller = self .sender ().objectName ()
698
698
699
- # stype = human name,/Qgis /connections-%s,providername
699
+ # stype = human name,/qgis /connections-%s,providername
700
700
if caller == 'mActionAddWms' :
701
701
stype = ['OGC:WMS/OGC:WMTS' , 'wms' , 'wms' ]
702
702
data_url = item_data ['wms' ]
@@ -718,9 +718,9 @@ def add_to_ows(self):
718
718
# store connection
719
719
# check if there is a connection with same name
720
720
if caller in ['mActionAddAms' , 'mActionAddAfs' ]:
721
- self .settings .beginGroup ('/Qgis /connections-%s' % stype [2 ])
721
+ self .settings .beginGroup ('/qgis /connections-%s' % stype [2 ])
722
722
else :
723
- self .settings .beginGroup ('/Qgis /connections-%s' % stype [1 ])
723
+ self .settings .beginGroup ('/qgis /connections-%s' % stype [1 ])
724
724
keys = self .settings .childGroups ()
725
725
self .settings .endGroup ()
726
726
@@ -745,9 +745,9 @@ def add_to_ows(self):
745
745
746
746
# no dups detected or overwrite is allowed
747
747
if caller in ['mActionAddAms' , 'mActionAddAfs' ]:
748
- self .settings .beginGroup ('/Qgis /connections-%s' % stype [2 ])
748
+ self .settings .beginGroup ('/qgis /connections-%s' % stype [2 ])
749
749
else :
750
- self .settings .beginGroup ('/Qgis /connections-%s' % stype [1 ])
750
+ self .settings .beginGroup ('/qgis /connections-%s' % stype [1 ])
751
751
self .settings .setValue ('/%s/url' % sname , clean_ows_url (data_url ))
752
752
self .settings .endGroup ()
753
753
@@ -760,15 +760,15 @@ def add_to_ows(self):
760
760
if service_type == 'OGC:WMS/OGC:WMTS' :
761
761
ows_provider .addRasterLayer .connect (self .iface .addRasterLayer )
762
762
conn_cmb = ows_provider .findChild (QWidget , 'cmbConnections' )
763
- connect = 'on_btnConnect_clicked '
763
+ connect = 'btnConnect_clicked '
764
764
elif service_type == 'OGC:WFS' :
765
765
ows_provider .addWfsLayer .connect (self .iface .mainWindow ().addWfsLayer )
766
766
conn_cmb = ows_provider .findChild (QWidget , 'cmbConnections' )
767
767
connect = 'connectToServer'
768
768
elif service_type == 'OGC:WCS' :
769
769
ows_provider .addRasterLayer .connect (self .iface .addRasterLayer )
770
770
conn_cmb = ows_provider .findChild (QWidget , 'mConnectionsComboBox' )
771
- connect = 'on_mConnectButton_clicked '
771
+ connect = 'mConnectButton_clicked '
772
772
elif service_type == 'ESRI:ArcGIS:MapServer' :
773
773
ows_provider .addAction (self .iface .actionAddAmsLayer ())
774
774
conn_cmb = ows_provider .findChild (QComboBox )
0 commit comments