diff options
| author | Léo Lam <leo@leolam.fr> | 2020-04-28 16:59:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-28 16:59:43 +0200 |
| commit | 82012c4cd6778c3ebb1bc48c50a76e07667f359c (patch) | |
| tree | a714dcc359090e8a4235d3993d5c77cffb300657 /Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp | |
| parent | 58de3c59ce543ffac006fa00f74a07b39393af69 (diff) | |
| parent | 19115c84dd50105bb3a64df7e5017946247dcd46 (diff) | |
Merge pull request #8272 from lioncash/overload
DolphinQt: Use qOverload where applicable
Diffstat (limited to 'Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp index 7e1ccb6075..ae351792fe 100644 --- a/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp +++ b/Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp @@ -169,14 +169,14 @@ void FIFOPlayerWindow::ConnectWidgets() connect(m_button_box, &QDialogButtonBox::rejected, this, &FIFOPlayerWindow::reject); connect(m_early_memory_updates, &QCheckBox::toggled, this, &FIFOPlayerWindow::OnEarlyMemoryUpdatesChanged); - connect(m_frame_range_from, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, + connect(m_frame_range_from, qOverload<int>(&QSpinBox::valueChanged), this, &FIFOPlayerWindow::OnLimitsChanged); - connect(m_frame_range_to, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, + connect(m_frame_range_to, qOverload<int>(&QSpinBox::valueChanged), this, &FIFOPlayerWindow::OnLimitsChanged); - connect(m_object_range_from, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, + connect(m_object_range_from, qOverload<int>(&QSpinBox::valueChanged), this, &FIFOPlayerWindow::OnLimitsChanged); - connect(m_object_range_to, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, + connect(m_object_range_to, qOverload<int>(&QSpinBox::valueChanged), this, &FIFOPlayerWindow::OnLimitsChanged); } |
