From 5175cd89efd1c34ef78445837d61c337f21996c3 Mon Sep 17 00:00:00 2001 From: Ievgenii Meshcheriakov Date: Mon, 1 Nov 2021 13:26:41 +0100 Subject: tst_qfile: Remove unused methods Remove at() and chmod() methods of MyEngine class. Those methods are not used anywhere and look like remainder of old API to me. Change-Id: I754a4281124cb8c9d74e79a9a2b99fb1b1f41e52 Reviewed-by: Edward Welbourne --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/corelib') diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index 46bf955bc4..afcd2c2a7e 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -2204,9 +2204,7 @@ public: MyEngine(int n) { number = n; } qint64 size() const override { return 123 + number; } - qint64 at() const { return -1; } QStringList entryList(QDir::Filters, const QStringList &) const override { return QStringList(); } - bool chmod(uint) { return false; } QString fileName(FileName) const override { return name; } private: -- cgit v1.2.3