From 7281e8b888848432f279c88499ce9fc25e0cac57 Mon Sep 17 00:00:00 2001 From: PlutonicOverkill Date: Fri, 12 May 2017 12:48:25 +1200 Subject: [PATCH] Remove C++11 features --- apps/opencs/model/prefs/modifiersetting.cpp | 2 +- apps/opencs/model/prefs/shortcutsetting.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/prefs/modifiersetting.cpp b/apps/opencs/model/prefs/modifiersetting.cpp index 6273575e9..da6b2ccdd 100644 --- a/apps/opencs/model/prefs/modifiersetting.cpp +++ b/apps/opencs/model/prefs/modifiersetting.cpp @@ -34,7 +34,7 @@ namespace CSMPrefs widget->installEventFilter(this); // right clicking on button sets shortcut to RMB, so context menu should not appear - widget->setContextMenuPolicy(Qt::ContextMenuPolicy::PreventContextMenu); + widget->setContextMenuPolicy(Qt::PreventContextMenu); mButton = widget; diff --git a/apps/opencs/model/prefs/shortcutsetting.cpp b/apps/opencs/model/prefs/shortcutsetting.cpp index 4c3931e99..de495b9fc 100644 --- a/apps/opencs/model/prefs/shortcutsetting.cpp +++ b/apps/opencs/model/prefs/shortcutsetting.cpp @@ -42,7 +42,7 @@ namespace CSMPrefs widget->installEventFilter(this); // right clicking on button sets shortcut to RMB, so context menu should not appear - widget->setContextMenuPolicy(Qt::ContextMenuPolicy::PreventContextMenu); + widget->setContextMenuPolicy(Qt::PreventContextMenu); mButton = widget;