From 1e2e9e555aa2803bfe5167b443eec4f5cd95ec55 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 14 Aug 2020 12:16:04 -0400 Subject: [PATCH] yuzu: Make use of qOverload where applicable Eliminates a verbose function cast. --- src/citra_qt/debugger/profiler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/citra_qt/debugger/profiler.cpp b/src/citra_qt/debugger/profiler.cpp index 7e1cd42491..195f6f82e2 100644 --- a/src/citra_qt/debugger/profiler.cpp +++ b/src/citra_qt/debugger/profiler.cpp @@ -108,8 +108,7 @@ MicroProfileWidget::MicroProfileWidget(QWidget* parent) : QWidget(parent) { MicroProfileSetDisplayMode(1); // Timers screen MicroProfileInitUI(); - connect(&update_timer, &QTimer::timeout, this, - static_cast(&MicroProfileWidget::update)); + connect(&update_timer, &QTimer::timeout, this, qOverload<>(&MicroProfileWidget::update)); } void MicroProfileWidget::paintEvent(QPaintEvent* ev) {