Fix tst_qimage compilation when deprecations are removed

Put both declaration and definition of tst_qimage::mirrored() behind
the same deprecation flags.

Task-number: QTBUG-136101
Change-Id: Ib54ee21f7944f1e2b7f9fe35aea9fd8d9e908f95
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 262a92244be71f622b5fa3e6e7c4fb60295efc0c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Juha Vuolle 2025-04-22 11:16:30 +03:00 committed by Qt Cherry-pick Bot
parent 103c1c3a4c
commit 8e078d8fd2

View File

@ -147,7 +147,9 @@ private slots:
void rgbSwapped();
void mirrored_data();
#if QT_DEPRECATED_SINCE(6, 13)
void mirrored();
#endif
void flipped_data();
void flipped();