Ticket #1234 (closed bug: fixed)
Suspicious retrival of active layer in dxf2shp converter
Description
In file dxf2shpconverter.cpp, lines 119-121, there are some actions implemented that seem to be garbage and never used:
QgsMapLayer *layer = mQGisIface->activeLayer();
if (layer)
QgsVectorLayer *lyr = (QgsVectorLayer*)layer;
Or, it's a kind of logical error (cast and assignment to lyr object in local scope of if-condition) and the idea was to use the retrieved active layer but bits of usage are missing.
Change History
Note: See
TracTickets for help on using
tickets.