mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Require Qt5.
This commit is contained in:
@@ -139,15 +139,10 @@ void lcMouseShortcuts::Reset()
|
||||
RotateViewShortcut.Button2 = Qt::RightButton;
|
||||
|
||||
lcToolShortcut& PanShortcut = mShortcuts[static_cast<int>(lcTool::Pan)];
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(4, 7, 0))
|
||||
PanShortcut.Modifiers1 = Qt::AltModifier;
|
||||
PanShortcut.Button1 = Qt::MiddleButton;
|
||||
PanShortcut.Modifiers2 = Qt::ShiftModifier;
|
||||
PanShortcut.Button2 = Qt::RightButton;
|
||||
#else
|
||||
PanShortcut.Modifiers1 = Qt::ShiftModifier;
|
||||
PanShortcut.Button1 = Qt::RightButton;
|
||||
#endif
|
||||
|
||||
lcToolShortcut& ZoomShortcut = mShortcuts[static_cast<int>(lcTool::Zoom)];
|
||||
ZoomShortcut.Modifiers1 = Qt::AltModifier;
|
||||
|
||||
Reference in New Issue
Block a user