File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
264
264
//
265
265
// Set up sql subset query if applicable
266
266
//
267
- #ifndef WIN32
268
267
#ifdef HAVE_POSTGRESQL
269
268
QgsVectorDataProvider *dp = dynamic_cast <QgsVectorDataProvider *>(layer->getDataProvider ());
270
269
// see if we are dealing with a pg layer here
@@ -278,7 +277,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
278
277
// update the extents of the layer (fetched from the provider)
279
278
layer->updateExtents ();
280
279
}
281
- #endif
282
280
#endif
283
281
// set up the scale based layer visibility stuff....
284
282
layer->setScaleBasedVisibility (chkUseScaleDependentRendering->isChecked ());
@@ -324,7 +322,6 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
324
322
325
323
void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked ()
326
324
{
327
- #ifndef WIN32
328
325
#ifdef HAVE_POSTGRESQL
329
326
// launch the query builder using the PostgreSQL connection
330
327
// from the provider
@@ -356,7 +353,6 @@ void QgsVectorLayerProperties::on_pbnQueryBuilder_clicked()
356
353
// delete the query builder object
357
354
delete pqb;
358
355
#endif
359
- #endif
360
356
}
361
357
362
358
void QgsVectorLayerProperties::on_pbnIndex_clicked ()
You can’t perform that action at this time.
0 commit comments