summaryrefslogtreecommitdiffstats
path: root/tests/manual/embeddedintoforeignwindow
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 14:18:09 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-07 11:51:48 +0200
commit6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch)
tree727427eb4c603e74954d4da462484ea7bf5c65bb /tests/manual/embeddedintoforeignwindow
parentd9cc1499954829faf9486fb72056e29f1bad58e3 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/manual/embeddedintoforeignwindow')
-rw-r--r--tests/manual/embeddedintoforeignwindow/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/embeddedintoforeignwindow/main.cpp b/tests/manual/embeddedintoforeignwindow/main.cpp
index 8edb3a3e9b..d6cff8ac04 100644
--- a/tests/manual/embeddedintoforeignwindow/main.cpp
+++ b/tests/manual/embeddedintoforeignwindow/main.cpp
@@ -111,7 +111,7 @@ static void showNativeWindow(WId wid)
#ifdef Q_OS_WIN
ShowWindow(HWND(wid), SW_SHOW);
#else // Q_OS_WIN
- Q_UNUSED(wid)
+ Q_UNUSED(wid);
Q_UNIMPLEMENTED();
#endif
}
@@ -121,7 +121,7 @@ static void setFocusToNativeWindow(WId wid)
#ifdef Q_OS_WIN
SetFocus(HWND(wid));
#else // Q_OS_WIN
- Q_UNUSED(wid)
+ Q_UNUSED(wid);
Q_UNIMPLEMENTED();
#endif
}
@@ -131,7 +131,7 @@ static void destroyNativeWindow(WId wid)
#ifdef Q_OS_WIN
DestroyWindow(HWND(wid));
#else // Q_OS_WIN
- Q_UNUSED(wid)
+ Q_UNUSED(wid);
Q_UNIMPLEMENTED();
#endif
}