Skip to content

Commit

Permalink
Qt: Fix qt compilation on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcum42 authored and refractionpcsx2 committed Feb 22, 2022
1 parent 3c54593 commit ff75ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pcsx2-qt/SettingWidgetBinder.h
Expand Up @@ -33,7 +33,7 @@

#include "EmuThread.h"
#include "QtHost.h"
#include "SettingsDialog.h"
#include "Settings/SettingsDialog.h"

namespace SettingWidgetBinder
{
Expand Down Expand Up @@ -621,7 +621,7 @@ namespace SettingWidgetBinder
Accessor::setNullableIntValue(widget, std::nullopt);
}

Accessor::connectValueChanged(widget, [sif, widget, section, key]() {
Accessor::connectValueChanged(widget, [&]() {
if (std::optional<int> new_value = Accessor::getNullableIntValue(widget); new_value.has_value())
{
const char* string_value = to_string_function(static_cast<DataType>(static_cast<UnderlyingType>(new_value.value())));
Expand Down

0 comments on commit ff75ab7

Please sign in to comment.