summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/appendfileoperation
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-11-16 17:23:30 +0200
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-12-21 10:16:32 +0200
commit347d9cd8525a0baadbd4822465248905877babd3 (patch)
treea9a7aa98f32008cfdc11132842fe63eb7113be05 /tests/auto/installer/appendfileoperation
parent7ba80f53f3f493e6b66c9867a9f31cbdcf364466 (diff)
Fix deprecation warnings from building with Qt 5.15.2
Also update build version requirements. Task-number: QTIFW-2388 Change-Id: Iae1949548dda7a3b8d448228e27060efb5abd8eb Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'tests/auto/installer/appendfileoperation')
-rw-r--r--tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp b/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp
index 9fbfb08e7..9eb1e2401 100644
--- a/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp
+++ b/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp
@@ -114,7 +114,7 @@ private slots:
QVERIFY(file.open(QIODevice::WriteOnly | QIODevice::Text));
QTextStream stream(&file);
- stream << source << flush;
+ stream << source << Qt::flush;
file.close();
AppendFileOperation op;