Fix build.

This commit is contained in:
Roman Telezhynskyi 2023-07-15 15:12:17 +03:00
parent dad5955e48
commit 37b00a9fd5
2 changed files with 4 additions and 10 deletions

View File

@ -40,8 +40,8 @@
#include <QString>
#include <QTextStream>
#include <QVector>
#include <Qt>
#include <QtDebug>
#include <QtMath>
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
#include "../vmisc/diagnostic.h"
@ -71,9 +71,8 @@ static inline auto svgEngineFeatures() -> QPaintEngine::PaintEngineFeatures
QT_WARNING_DISABLE_INTEL(68)
QT_WARNING_DISABLE_INTEL(2022)
return QPaintEngine::PaintEngineFeatures(QPaintEngine::AllFeatures & ~QPaintEngine::PatternBrush &
~QPaintEngine::PerspectiveTransform & ~QPaintEngine::ConicalGradientFill &
~QPaintEngine::PorterDuff);
return {QPaintEngine::AllFeatures & ~QPaintEngine::PatternBrush & ~QPaintEngine::PerspectiveTransform &
~QPaintEngine::ConicalGradientFill & ~QPaintEngine::PorterDuff};
QT_WARNING_POP
}
@ -100,11 +99,6 @@ VObjEngine::VObjEngine()
#pragma warning(pop)
#endif
//---------------------------------------------------------------------------------------------------------------------
VObjEngine::~VObjEngine()
{
}
//---------------------------------------------------------------------------------------------------------------------
auto VObjEngine::begin(QPaintDevice *pdev) -> bool
{

View File

@ -49,7 +49,7 @@ class VObjEngine final : public QPaintEngine
{
public:
VObjEngine();
virtual ~VObjEngine() override;
~VObjEngine() override = default;
virtual auto begin(QPaintDevice *pdev) -> bool override;
virtual auto end() -> bool override;