mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Remove Q_DECL_DEPRECATED from constructor
Even though this class is deprecated, this breaks the qt 6 on qt 6.7+
This commit is contained in:
parent
3bc7f29dac
commit
f02841dd5d
@ -26,12 +26,9 @@ onto a scene with custom composition modes.
|
||||
%End
|
||||
public:
|
||||
|
||||
QgsLayoutEffect() /Deprecated/;
|
||||
QgsLayoutEffect();
|
||||
%Docstring
|
||||
Constructor for QgsLayoutEffect.
|
||||
|
||||
.. deprecated:: QGIS 3.34
|
||||
-- this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.
|
||||
%End
|
||||
|
||||
void setCompositionMode( QPainter::CompositionMode mode ) /Deprecated/;
|
||||
|
@ -26,12 +26,9 @@ onto a scene with custom composition modes.
|
||||
%End
|
||||
public:
|
||||
|
||||
QgsLayoutEffect() /Deprecated/;
|
||||
QgsLayoutEffect();
|
||||
%Docstring
|
||||
Constructor for QgsLayoutEffect.
|
||||
|
||||
.. deprecated:: QGIS 3.34
|
||||
-- this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.
|
||||
%End
|
||||
|
||||
void setCompositionMode( QPainter::CompositionMode mode ) /Deprecated/;
|
||||
|
@ -41,10 +41,8 @@ class CORE_EXPORT QgsLayoutEffect : public QGraphicsEffect
|
||||
|
||||
/**
|
||||
* Constructor for QgsLayoutEffect.
|
||||
*
|
||||
* \deprecated since QGIS 3.34 -- this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.
|
||||
*/
|
||||
Q_DECL_DEPRECATED QgsLayoutEffect() SIP_DEPRECATED = default;
|
||||
QgsLayoutEffect() = default;
|
||||
|
||||
/**
|
||||
* Sets the composition (blending) \a mode used for rendering
|
||||
|
Loading…
x
Reference in New Issue
Block a user