Skip to content

Commit 0bc8b89

Browse files
author
timlinux
committed
Fixed bug #507 - query builder code was commented out due to issues with 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
1 parent b65775c commit 0bc8b89

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/gui/qgsvectorlayerproperties.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
264264
//
265265
// Set up sql subset query if applicable
266266
//
267-
#ifndef WIN32
268267
#ifdef HAVE_POSTGRESQL
269268
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
270269
//see if we are dealing with a pg layer here
@@ -278,7 +277,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
278277
// update the extents of the layer (fetched from the provider)
279278
layer->updateExtents();
280279
}
281-
#endif
282280
#endif
283281
// set up the scale based layer visibility stuff....
284282
layer->setScaleBasedVisibility(chkUseScaleDependentRendering->isChecked());
@@ -324,7 +322,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
324322

325323
void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked()
326324
{
327-
#ifndef WIN32
328325
#ifdef HAVE_POSTGRESQL
329326
// launch the query builder using the PostgreSQL connection
330327
// from the provider
@@ -356,7 +353,6 @@ void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked()
356353
// delete the query builder object
357354
delete pqb;
358355
#endif
359-
#endif
360356
}
361357

362358
void QgsVectorLayerProperties::on_pbnIndex_clicked()

0 commit comments

Comments
 (0)