summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-06 15:05:52 +0200
committerLioncash <mathew1800@gmail.com>2020-07-06 15:07:21 +0200
commit4f678284e208e3021f4e54e4583d95c4e8fcc2c6 (patch)
treebfc86ed5649c5b534c7d0878912f9d9ee2ac3c2c /src
parentconfigure_graphics: Prevent unnecessary string copies in UpdateDeviceComboBox() (diff)
downloadyuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar.gz
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar.bz2
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar.lz
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar.xz
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.tar.zst
yuzu-4f678284e208e3021f4e54e4583d95c4e8fcc2c6.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index e8c8f5f20..431f51d73 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -28,9 +28,9 @@ ConfigureGraphics::ConfigureGraphics(QWidget* parent)
SetConfiguration();
- connect(ui->api, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
+ connect(ui->api, qOverload<int>(&QComboBox::currentIndexChanged), this,
[this] { UpdateDeviceComboBox(); });
- connect(ui->device, static_cast<void (QComboBox::*)(int)>(&QComboBox::activated), this,
+ connect(ui->device, qOverload<int>(&QComboBox::activated), this,
[this](int device) { UpdateDeviceSelection(device); });
connect(ui->bg_button, &QPushButton::clicked, this, [this] {