Qt 6.8 warnings fixed
This commit is contained in:
parent
a8c1bb5c77
commit
1aaf4ec296
@ -496,6 +496,16 @@ int QskGraphic::metric( PaintDeviceMetric deviceMetric ) const
|
||||
value = metric( PdmDevicePixelRatio ) * devicePixelRatioFScale();
|
||||
break;
|
||||
}
|
||||
#if QT_VERSION >= QT_VERSION_CHECK( 6, 8, 0 )
|
||||
case PdmDevicePixelRatioF_EncodedA:
|
||||
case PdmDevicePixelRatioF_EncodedB:
|
||||
{
|
||||
#if 0
|
||||
value = QPaintDevice::encodeMetricF( metric, devicePixelRatio() );
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return value;
|
||||
|
@ -35,6 +35,8 @@ class QSK_EXPORT QskGraphic : public QPaintDevice
|
||||
Q_PROPERTY( QSizeF defaultSize READ defaultSize )
|
||||
Q_PROPERTY( quint64 modificationId READ modificationId )
|
||||
|
||||
using Inherited = QPaintDevice;
|
||||
|
||||
public:
|
||||
enum RenderHint
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user