Commit 7e390967 authored by Holger Hans Peter Freyther's avatar Holger Hans Peter Freyther Committed by Holger Freyther
Browse files

Fix incorrect expression in directfb keyboard code


Add missing equal sign to have the result of the OR
stored inside the modifiers variable.

Fixes Coverity CID#89071.

Change-Id: I0ee1a080f5f6757ae7646733aa3bb5cf8c6cdeed
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@theqtcompany.com>
parent ae4bc7e9
Branches
Tags
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -217,7 +217,7 @@ Qt::KeyboardModifiers QDirectFbConvenience::keyboardModifiers(DFBInputDeviceModi
modifiers |= Qt::ControlModifier;
}
if (mask & DIMM_META) {
modifiers | Qt::MetaModifier;
modifiers |= Qt::MetaModifier;
}
return modifiers;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment