summaryrefslogtreecommitdiffstats
path: root/tests/manual/embeddedintoforeignwindow
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-25 09:49:47 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-09-26 19:53:54 +0200
commit18bd22656418e269ee57024a966bbc2fef70db36 (patch)
treefc84ae16568ed8f47bc0abfec011b4ebb1ae7d53 /tests/manual/embeddedintoforeignwindow
parentb0b4fcd05cd5ae891da868829c1645acf7589acb (diff)
Fix compilation of some manual tests
- qtabletevent/device_information - dialogs - windowflags Change-Id: Id3e4b2aec2a873b00dcda39fb1227b24832181ca Reviewed-by: Shawn Rutledge <shawn.rutledge@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 c8e8a4f1b5..c63eeae023 100644
--- a/tests/manual/embeddedintoforeignwindow/main.cpp
+++ b/tests/manual/embeddedintoforeignwindow/main.cpp
@@ -166,7 +166,7 @@ public:
pos.rx() += buttonSize.width() + spacing;
ButtonItem *qi = new ButtonItem("Quit", QRect(pos, buttonSize),
QColor(Qt::red).lighter(), this);
- qi->setShortcut(Qt::CTRL + Qt::Key_Q);
+ qi->setShortcut(Qt::CTRL | Qt::Key_Q);
connect(qi, &ButtonItem::clicked, qApp, &QCoreApplication::quit);
addItem(qi);