summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-08-17 09:13:14 +0200
committerGitHub <noreply@github.com>2020-08-17 09:13:14 +0200
commitd8a90e653660e216423bc989918bcdc93c92f006 (patch)
treeca5d61a873948a516314179a8ddb232e3401fe5d
parentMerge pull request #4443 from ameerj/vk-async-shaders (diff)
parentyuzu: Make use of qOverload where applicable (diff)
downloadyuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar.gz
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar.bz2
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar.lz
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar.xz
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.tar.zst
yuzu-d8a90e653660e216423bc989918bcdc93c92f006.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) {