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@6158 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 1, 2006
1 parent dbf8c43 commit a9ab052318c0773b0c71194ef17406c3473caa3a
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 a9ab052

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