mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 07:03:25 -06:00
#4237 Fix build problem on Qt 4
This commit is contained in:
parent
b08504fe05
commit
11b078c1a9
@ -82,7 +82,7 @@ void RicToggleMeasurementModeFeature::setupActionLook(QAction* actionToSetup)
|
||||
auto* meas = measurement();
|
||||
if (meas && meas->measurementMode() == RimMeasurement::MEASURE_REGULAR)
|
||||
{
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence::Cancel);
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence(Qt::Key_Escape));
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence(tr("Ctrl+M")));
|
||||
}
|
||||
else
|
||||
@ -163,7 +163,7 @@ void RicTogglePolyMeasurementModeFeature::setupActionLook(QAction* actionToSetup
|
||||
auto* meas = measurement();
|
||||
if (meas && meas->measurementMode() == RimMeasurement::MEASURE_POLYLINE)
|
||||
{
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence::Cancel);
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence(Qt::Key_Escape));
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence(tr("Ctrl+Shift+M")));
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user