Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug #507 - query builder code was commented out due to issues w…
…ith the old (non cmake) build system

git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6736 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Mar 1, 2007
1 parent b65775c commit 0bc8b89
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/gui/qgsvectorlayerproperties.cpp
Expand Up @@ -264,7 +264,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
//
// Set up sql subset query if applicable
//
#ifndef WIN32
#ifdef HAVE_POSTGRESQL
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
//see if we are dealing with a pg layer here
Expand All @@ -278,7 +277,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
// update the extents of the layer (fetched from the provider)
layer->updateExtents();
}
#endif
#endif
// set up the scale based layer visibility stuff....
layer->setScaleBasedVisibility(chkUseScaleDependentRendering->isChecked());
Expand Down Expand Up @@ -324,7 +322,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()

void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked()
{
#ifndef WIN32
#ifdef HAVE_POSTGRESQL
// launch the query builder using the PostgreSQL connection
// from the provider
Expand Down Expand Up @@ -356,7 +353,6 @@ void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked()
// delete the query builder object
delete pqb;
#endif
#endif
}

void QgsVectorLayerProperties::on_pbnIndex_clicked()
Expand Down

0 comments on commit 0bc8b89

Please sign in to comment.