fixed compilation on non-msvc
This commit is contained in:
@@ -36,7 +36,7 @@ namespace {
|
|||||||
const QString &title,
|
const QString &title,
|
||||||
EnumSetting<Qt::KeyboardModifier> &setting)
|
EnumSetting<Qt::KeyboardModifier> &setting)
|
||||||
{
|
{
|
||||||
layout.addDropdown<int>(
|
layout.addDropdown<std::underlying_type<Qt::KeyboardModifier>::type>(
|
||||||
title, {"None", "Shift", "Control", "Alt", META_KEY}, setting,
|
title, {"None", "Shift", "Control", "Alt", META_KEY}, setting,
|
||||||
[](int index) {
|
[](int index) {
|
||||||
switch (index)
|
switch (index)
|
||||||
|
|||||||
Reference in New Issue
Block a user