diff options
Diffstat (limited to 'Source/Core/DolphinQt/TAS/TASInputWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/TAS/TASInputWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/TAS/TASInputWindow.cpp b/Source/Core/DolphinQt/TAS/TASInputWindow.cpp index 7b2cff94a0..227b04759f 100644 --- a/Source/Core/DolphinQt/TAS/TASInputWindow.cpp +++ b/Source/Core/DolphinQt/TAS/TASInputWindow.cpp @@ -166,8 +166,8 @@ QGridLayout* TASInputWindow::CreateSliderValuePairLayout( TASSpinBox* TASInputWindow::CreateSliderValuePair( std::string_view group_name, std::string_view control_name, InputOverrider* overrider, QGridLayout* layout, int zero, int default_, int min, int max, - QKeySequence shortcut_key_sequence, Qt::Orientation orientation, QWidget* shortcut_widget, - std::optional<ControlState> scale) + const QKeySequence& shortcut_key_sequence, Qt::Orientation orientation, + QWidget* shortcut_widget, std::optional<ControlState> scale) { TASSpinBox* value = CreateSliderValuePair(layout, default_, max, shortcut_key_sequence, orientation, shortcut_widget); @@ -194,7 +194,7 @@ TASSpinBox* TASInputWindow::CreateSliderValuePair( // The shortcut_widget argument needs to specify the container widget that will be hidden/shown. // This is done to avoid ambiguous shortcuts TASSpinBox* TASInputWindow::CreateSliderValuePair(QGridLayout* layout, int default_, int max, - QKeySequence shortcut_key_sequence, + const QKeySequence& shortcut_key_sequence, Qt::Orientation orientation, QWidget* shortcut_widget) { |
