GCC warnings.

develop
Roman Telezhynskyi 2021-09-25 15:49:00 +03:00
parent d25c6f0602
commit 9bfc0df25b
6 changed files with 14 additions and 0 deletions

View File

@ -41,6 +41,9 @@
class VPointF;
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Wsuggest-final-types")
class VAbstractCubicBezier : public VAbstractBezier
{
public:
@ -74,4 +77,6 @@ protected:
virtual QPointF GetControlPoint2() const =0;
};
QT_WARNING_POP
#endif // VABSTRACTCUBICBEZIER_H

View File

@ -113,6 +113,8 @@ private:
Q_DISABLE_COPY(QVector3DProperty)
};
VPE_MARK_NONFINAL_CLASS(QVector3DProperty)
}
#endif // VVECTOR3DPROPERTY_H

View File

@ -104,6 +104,8 @@ private:
Q_DISABLE_COPY(VEnumProperty)
};
VPE_MARK_NONFINAL_CLASS(VEnumProperty)
}
#endif // VENUMPROPERTY_H

View File

@ -108,6 +108,8 @@ private:
Q_DISABLE_COPY(VFileProperty)
};
VPE_MARK_NONFINAL_CLASS(VFileProperty)
}
#endif // VFILEPROPERTY_H

View File

@ -113,6 +113,8 @@ private:
Q_DISABLE_COPY(VFileEditWidget)
};
VPE_MARK_NONFINAL_CLASS(VFileEditWidget)
}
#endif // VFILEPROPERTYEDITOR_H

View File

@ -146,6 +146,7 @@ private:
Q_DISABLE_COPY(VDoubleProperty)
};
VPE_MARK_NONFINAL_CLASS(VDoubleProperty)
}