fixed backslash validator in OWS connection names

This commit is contained in:
Radim Blazek 2014-02-14 13:03:07 +01:00
parent 54d3510e75
commit 277d2747a7

View File

@ -40,7 +40,7 @@ QgsNewHttpConnection::QgsNewHttpConnection(
// using connection-wms and connection-wfs -> parse credential key fro it.
mCredentialsBaseKey = mBaseKey.split( '-' ).last().toUpper();
txtName->setValidator( new QRegExpValidator( QRegExp( "[^/]+" ), txtName ) );
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );
cmbDpiMode->clear();
cmbDpiMode->addItem( tr( "all" ) );