fixed compilation on non-msvc

This commit is contained in:
fourtf 2019-09-16 21:08:14 +02:00
parent cadff4c430
commit 6298b74884

View file

@ -36,7 +36,7 @@ namespace {
const QString &title,
EnumSetting<Qt::KeyboardModifier> &setting)
{
layout.addDropdown<int>(
layout.addDropdown<std::underlying_type<Qt::KeyboardModifier>::type>(
title, {"None", "Shift", "Control", "Alt", META_KEY}, setting,
[](int index) {
switch (index)