diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-08-17 04:13:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 04:13:14 -0300 |
commit | d8a90e653660e216423bc989918bcdc93c92f006 (patch) | |
tree | ca5d61a873948a516314179a8ddb232e3401fe5d /src | |
parent | cbaf1bc711e79a9094f157d3e0327f3a2c707462 (diff) | |
parent | 969a4cc4daf71e6926fc6dd3611ab10974e06ade (diff) |
Merge pull request #4531 from lioncash/overload
yuzu: Make use of qOverload where applicable
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/debugger/profiler.cpp | 3 |
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) { |