Skip to content

Commit

Permalink
dummy addDatabaseLayer() without Postgres
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4666 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Jan 12, 2006
1 parent a676689 commit d7b3e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/qgisapp.cpp
Expand Up @@ -1923,9 +1923,9 @@ bool QgisApp::isValidVectorFileName(QString * theFileNameQString)
return isValidVectorFileName(*theFileNameQString);
}



#ifdef HAVE_POSTGRESQL
#ifndef HAVE_POSTGRESQL
void QgisApp::addDatabaseLayer(){}
#else
void QgisApp::addDatabaseLayer()
{
// only supports postgis layers at present
Expand Down

0 comments on commit d7b3e2a

Please sign in to comment.