Fix build.
This commit is contained in:
parent
dad5955e48
commit
37b00a9fd5
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user