Ticket #1234 (closed bug: fixed)
Suspicious retrival of active layer in dxf2shp converter
|Reported by:||mloskot||Owned by:||nobody|
|Platform Version:||10.5||Platform:||OS X|
|Must Fix for Release:||No||Awaiting user input:||no|
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.