summaryrefslogtreecommitdiffstats
path: root/tests/manual/embeddedintoforeignwindow
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-23 13:54:47 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-07-27 11:20:35 +0200
commit02c2c930f0874a8886cb0983606c38cb8b356cd7 (patch)
tree501d5fc16f2ba14f02bb27a75964ffe8993510d0 /tests/manual/embeddedintoforeignwindow
parent2059170b33ffb05b99d9a3e1e374eb5a4bce9163 (diff)
Fix some compiler errors caused by bit-rot in manual tests
Two methods that have gone away or been renamed, an enum that now doesn't support being assigned from int. QTime should no longer be used as a timer. Removed a test of deprecated code that's gone away. Task-number: QTBUG-85700 Change-Id: Idc6d59542625d22b9937084411b54b0d8aa87f00 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/manual/embeddedintoforeignwindow')
-rw-r--r--tests/manual/embeddedintoforeignwindow/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/embeddedintoforeignwindow/main.cpp b/tests/manual/embeddedintoforeignwindow/main.cpp
index d6cff8ac04..8827b3a0a2 100644
--- a/tests/manual/embeddedintoforeignwindow/main.cpp
+++ b/tests/manual/embeddedintoforeignwindow/main.cpp
@@ -233,7 +233,7 @@ int main(int argc, char *argv[])
parser.process(QCoreApplication::arguments());
- QtDiag::EventFilter::EventCategories eventCategories = 0;
+ QtDiag::EventFilter::EventCategories eventCategories = {};
for (int i = 0; i < eventFilterOptionCount; ++i) {
if (parser.isSet(QLatin1String(eventFilterOptions[i].name)))
eventCategories |= eventFilterOptions[i].categories;