Skip to content
Permalink
Browse files

Correct a small problem with loading postgres layers due to recent co…

…mmits.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6158 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 1, 2006
1 parent 3a75672 commit 8338cc4b67179e97c99eb6e1ffac55814f43dc80
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -113,9 +113,9 @@ QgsPostgresProvider::QgsPostgresProvider(QString const & uri)
QStringList stuff = reg.capturedTexts();

mSchemaName = stuff[1];
mTableName = stuff[2];
geometryColumn = mTableName.mid(mTableName.find(" (") + 2);
geometryColumn.truncate(geometryColumn.length() - 1);
mTableName = stuff[2];

// Keep a schema qualified table name for convenience later on.
if (mSchemaName.length() > 0)

0 comments on commit 8338cc4

Please sign in to comment.
You can’t perform that action at this time.