Skip to content
Permalink
Browse files
fix for #1030
git-svn-id: http://svn.osgeo.org/qgis/trunk@8336 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 11, 2008
1 parent 067129e commit 13c9c1c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2195,7 +2195,7 @@ bool QgsVectorLayer::setDataProvider( QString const & provider )
{
QgsDebugMsg("Beautifying layer name " + name());
// adjust the display name for postgres layers
QRegExp reg("\".+\"\\.\"(.+)\"");
QRegExp reg("\"[^\"]+\"\\.\"([^\"]+)\"");
reg.indexIn(name());
QStringList stuff = reg.capturedTexts();
QString lName = stuff[1];

0 comments on commit 13c9c1c

Please sign in to comment.