summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-16 17:42:00 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-29 06:20:07 +0200
commit0fda43cf33cc7715f16d8764c4d96c6f88238712 (patch)
treec693c9ce99f1f02f8ec5de204cfe93bf1517b105 /tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
parent0303d8ddfa968e0c5a9ac08a12836ea3f34d4088 (diff)
Remove deprecated members from QtGui/image classes
Cleaning up those that are trivial to remove because they have direct replacements. Change-Id: I4f5c25884a01474fa2db8b369f0d883bd21edd5b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp')
-rw-r--r--tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
index 247f6443c1..b76ccf3ed0 100644
--- a/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
+++ b/tests/auto/gui/image/qimagewriter/tst_qimagewriter.cpp
@@ -146,13 +146,6 @@ void tst_QImageWriter::getSetCheck()
QCOMPARE(INT_MIN, obj1.compression());
obj1.setCompression(INT_MAX);
QCOMPARE(INT_MAX, obj1.compression());
-
- // float QImageWriter::gamma()
- // void QImageWriter::setGamma(float)
- obj1.setGamma(0.0f);
- QCOMPARE(0.0f, obj1.gamma());
- obj1.setGamma(1.1f);
- QCOMPARE(1.1f, obj1.gamma());
}
void tst_QImageWriter::writeImage_data()