1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 04:45:33 +00:00

Use the enum value from Qt::KeyboardModifiers

This fixes the windows build at least
This commit is contained in:
Alexander "Ace" Olofsson 2014-10-29 04:55:06 +01:00
parent e604fcf282
commit c1ce570e37

View file

@ -358,7 +358,7 @@ CSVWorld::Table::Table (const CSMWorld::UniversalId& id,
setAcceptDrops(true);
mDoubleClickActions.insert (std::make_pair (0, Action_InPlaceEdit));
mDoubleClickActions.insert (std::make_pair (Qt::NoModifier, Action_InPlaceEdit));
mDoubleClickActions.insert (std::make_pair (Qt::ShiftModifier, Action_EditRecord));
mDoubleClickActions.insert (std::make_pair (Qt::ControlModifier, Action_View));
mDoubleClickActions.insert (std::make_pair (Qt::ShiftModifier | Qt::ControlModifier, Action_EditRecordAndClose));