Vera++.
--HG-- branch : feature
This commit is contained in:
parent
39d0e94cec
commit
d06bc59000
|
@ -93,7 +93,7 @@ public:
|
||||||
Q_CHECK_PTR(obj);
|
Q_CHECK_PTR(obj);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
catch(const std::bad_alloc &)
|
catch (const std::bad_alloc &)
|
||||||
{
|
{
|
||||||
throw VExceptionBadId(tr("Can't cast object"), id);
|
throw VExceptionBadId(tr("Can't cast object"), id);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
|
@ -277,7 +277,7 @@ QString DialogHistory::Record(const VToolRecord &tool)
|
||||||
{
|
{
|
||||||
const QString pName = data->GeometricObject<const VPointF *>(points.at(0).P().id())->name();
|
const QString pName = data->GeometricObject<const VPointF *>(points.at(0).P().id())->name();
|
||||||
record = QString(tr("Curve point %1")).arg(pName);
|
record = QString(tr("Curve point %1")).arg(pName);
|
||||||
if(points.size() > 1)
|
if (points.size() > 1)
|
||||||
{
|
{
|
||||||
const QString pName = data->GeometricObject<const VPointF *>(points.last().P().id())->name();
|
const QString pName = data->GeometricObject<const VPointF *>(points.last().P().id())->name();
|
||||||
record.append(QString("_%1").arg(pName));
|
record.append(QString("_%1").arg(pName));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user