Skip to content

Commit

Permalink
fixup! feat: add file and color controller setting types
Browse files Browse the repository at this point in the history
  • Loading branch information
acolombier committed Nov 22, 2024
1 parent 649e569 commit 15d89b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/controllers/legacycontrollersettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,9 @@ LegacyControllerEnumSetting::LegacyControllerEnumSetting(
QString val = value.text();
QColor color = QColor(value.attribute("color"));
// TODO: Remove once we mandate GCC 10/Clang 16
#if defined(__cpp_aggregate_paren_init) && \
__cpp_aggregate_paren_init >= 201902L && !defined(_MSC_VER)
#if defined(__cpp_aggregate_paren_init) && \
__cpp_aggregate_paren_init >= 201902L && \
!defined(_MSC_VER) // FIXME: Bug in MSVC preventing the use of this feature
m_options.emplace_back(val, value.attribute("label", val), color);
#else
m_options.emplace_back(Item{val, value.attribute("label", val), color});
Expand Down

0 comments on commit 15d89b8

Please sign in to comment.