Refactoring. Removed unused variable.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-01-29 13:48:22 +02:00
parent 7281ec43b2
commit 7bc6100efa

View File

@ -1181,8 +1181,6 @@ void VToolOptionsPropertyBrowser::ChangeDataToolPointOfIntersectionCurves(VPrope
const QVariant value = property->data(VProperty::DPC_Data, Qt::DisplayRole); const QVariant value = property->data(VProperty::DPC_Data, Qt::DisplayRole);
const QString id = propertyToId[property]; const QString id = propertyToId[property];
auto i = qgraphicsitem_cast<VToolPointOfIntersectionCurves *>(currentItem);
SCASSERT(i != nullptr);
switch (PropertiesList().indexOf(id)) switch (PropertiesList().indexOf(id))
{ {
case 0: // AttrName case 0: // AttrName