From aff23a72464e918c536d4fbfce7c62c51ebec5ab Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 27 Aug 2021 23:39:41 +0300 Subject: [PATCH] compiler warning fix upstream commit: https://github.com/qt/qtbase/commit/58170cea15f5b39d3802df036c90fee63886b9b3 Signed-off-by: Ivailo Monev --- tests/auto/qfile/tst_qfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index f8afa52eb..43abde6d2 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -1759,7 +1759,7 @@ public: virtual ~MyEngine() {} void setFileName(const QString &) {} - bool open(int ) { return false; } + bool open(QIODevice::OpenMode) { return false; } bool close() { return false; } bool flush() { return false; } qint64 size() const { return 123 + number; }