summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp')
-rw-r--r--tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp b/tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp
index 45a23984e0..d9e3f3ba42 100644
--- a/tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp
+++ b/tests/auto/widgets/widgets/qcommandlinkbutton/tst_qcommandlinkbutton.cpp
@@ -341,7 +341,7 @@ void tst_QCommandLinkButton::toggled()
void tst_QCommandLinkButton::setAccel()
{
testWidget->setText("&AccelTest");
- QKeySequence seq( Qt::ALT + Qt::Key_A );
+ QKeySequence seq( Qt::ALT | Qt::Key_A );
testWidget->setShortcut( seq );
// The shortcut will not be activated unless the button is in a active