Vera++.
--HG-- branch : feature
This commit is contained in:
parent
39d0e94cec
commit
d06bc59000
|
@ -93,7 +93,7 @@ public:
|
|||
Q_CHECK_PTR(obj);
|
||||
return obj;
|
||||
}
|
||||
catch(const std::bad_alloc &)
|
||||
catch (const std::bad_alloc &)
|
||||
{
|
||||
throw VExceptionBadId(tr("Can't cast object"), id);
|
||||
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();
|
||||
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();
|
||||
record.append(QString("_%1").arg(pName));
|
||||
|
|
|
@ -519,7 +519,7 @@ void TableWindow::PsFile(const QString &name) const
|
|||
|
||||
//TODO delete parametr name and use last parameter in string list instead.
|
||||
void TableWindow::PdfToPs(const QString &name, const QStringList ¶ms) const
|
||||
{
|
||||
{
|
||||
#ifndef QT_NO_CURSOR
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
#endif
|
||||
|
|
|
@ -477,7 +477,7 @@ void VToolUnionDetails::Create(const quint32 _id, const VDetail &d1, const VDeta
|
|||
qint32 pointsD2 = 0; //Keeps count points second detail, what we already add.
|
||||
|
||||
if (typeCreation == Tool::FromGui)
|
||||
{
|
||||
{
|
||||
qint32 j = 0, i = 0;
|
||||
VDetail newDetail;
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue
Block a user