Skip to content

Commit

Permalink
Correct a small problem with loading postgres layers due to recent co…
Browse files Browse the repository at this point in the history
…mmits.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6158 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 1, 2006
1 parent 3a75672 commit 8338cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 8338cc4

Please sign in to comment.