[Qgis-developer] empty ds/layer creation duplicated in QgsOgrProvider and QgsVectorFileWriter

Alexander Bruy alexander.bruy at gmail.com
Sat Jul 14 07:52:47 PDT 2012


Hi Giuseppe,

2012/7/14 Giuseppe Sucameli <brush.tyler at gmail.com>:
> Is it time to break API or should we just clean it up removing
> the createEmptyDataSource() function and replacing all its
> occurrences (it's used in src/gui/qgsnewvectorlayerdialog.cpp only)
> with the createEmptyLayer() function?

AFAIK we already have API break. First was in composer classes and
now there are also API breaks within raster rendering subsystem. So,
I think it is ok to remove duplicate code.

Just my 2c

-- 
Alexander Bruy


More information about the Qgis-developer mailing list