@@ -1013,8 +1013,7 @@ void RemoteViewWidget::mousePressEvent(QMouseEvent *event)
10131013 if (m_interactionMode != NoInteraction
10141014 && m_interactionMode != ViewInteraction
10151015 && event->buttons () & Qt::LeftButton
1016- && event->modifiers () & Qt::ControlModifier
1017- && event->modifiers () & Qt::ShiftModifier) {
1016+ && event->modifiers () & Qt::ControlModifier) {
10181017
10191018 pan ();
10201019 } else {
@@ -1126,8 +1125,7 @@ void RemoteViewWidget::mouseMoveEvent(QMouseEvent *event)
11261125
11271126 if (m_interactionMode != NoInteraction
11281127 && event->buttons () & Qt::LeftButton
1129- && event->modifiers () & Qt::ControlModifier
1130- && event->modifiers () & Qt::ShiftModifier) {
1128+ && event->modifiers () & Qt::ControlModifier) {
11311129
11321130 pan ();
11331131 } else {
@@ -1212,8 +1210,8 @@ void RemoteViewWidget::keyPressEvent(QKeyEvent *event)
12121210{
12131211 if (m_interactionMode != NoInteraction
12141212 && m_interactionMode != ViewInteraction
1215- && (( event->key () == Qt::Key_Control && event-> modifiers () & Qt::ShiftModifier)
1216- || (event-> key () == Qt::Key_Shift && event-> modifiers () & Qt::ControlModifier))) {
1213+ && event->key () == Qt::Key_Control) {
1214+
12171215 setCursor (Qt::OpenHandCursor);
12181216 }
12191217 switch (m_interactionMode) {
@@ -1241,8 +1239,8 @@ void RemoteViewWidget::keyReleaseEvent(QKeyEvent *event)
12411239 if (m_interactionMode != NoInteraction
12421240 && m_interactionMode != ViewInteraction
12431241 && cursor () == Qt::OpenHandCursor
1244- && (( event->key () == Qt::Key_Control && event-> modifiers () & Qt::ShiftModifier)
1245- || (event-> key () == Qt::Key_Shift && event-> modifiers () & Qt::ControlModifier))) {
1242+ && event->key () == Qt::Key_Control) {
1243+
12461244 setCursor (Qt::CrossCursor);
12471245 }
12481246 switch (m_interactionMode) {
0 commit comments