diff options
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 6b3324c18b..2c0325296d 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -551,7 +551,10 @@ public: explicit QExposeEvent(const QRegion &m_region); ~QExposeEvent(); +#if QT_DEPRECATED_SINCE(6, 0) + QT_DEPRECATED_VERSION_X_6_0("Handle QPaintEvent instead") inline const QRegion ®ion() const { return m_region; } +#endif protected: QRegion m_region; |