summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-14 18:16:04 +0200
committerLioncash <mathew1800@gmail.com>2020-08-14 20:12:55 +0200
commit969a4cc4daf71e6926fc6dd3611ab10974e06ade (patch)
tree52b907eb9027eb19f5c47ef848e490e6fad61563
parentMerge pull request #4529 from lioncash/assignment (diff)
downloadyuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.gz
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.bz2
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.lz
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.xz
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.zst
yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.zip
-rw-r--r--src/yuzu/debugger/profiler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp
index 53049ffd6..0e26f765b 100644
--- a/src/yuzu/debugger/profiler.cpp
+++ b/src/yuzu/debugger/profiler.cpp
@@ -109,8 +109,7 @@ MicroProfileWidget::MicroProfileWidget(QWidget* parent) : QWidget(parent) {
MicroProfileSetDisplayMode(1); // Timers screen
MicroProfileInitUI();
- connect(&update_timer, &QTimer::timeout, this,
- static_cast<void (MicroProfileWidget::*)()>(&MicroProfileWidget::update));
+ connect(&update_timer, &QTimer::timeout, this, qOverload<>(&MicroProfileWidget::update));
}
void MicroProfileWidget::paintEvent(QPaintEvent* ev) {