diff options
| author | 2020-08-14 12:16:04 -0400 | |
|---|---|---|
| committer | 2020-08-14 14:12:55 -0400 | |
| commit | 969a4cc4daf71e6926fc6dd3611ab10974e06ade (patch) | |
| tree | 52b907eb9027eb19f5c47ef848e490e6fad61563 /src | |
| parent | Merge pull request #4529 from lioncash/assignment (diff) | |
| download | yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.gz yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.tar.xz yuzu-969a4cc4daf71e6926fc6dd3611ab10974e06ade.zip | |
yuzu: Make use of qOverload where applicable
Eliminates a verbose function cast.
Diffstat (limited to '')
| -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) { | |||
| 109 | MicroProfileSetDisplayMode(1); // Timers screen | 109 | MicroProfileSetDisplayMode(1); // Timers screen |
| 110 | MicroProfileInitUI(); | 110 | MicroProfileInitUI(); |
| 111 | 111 | ||
| 112 | connect(&update_timer, &QTimer::timeout, this, | 112 | connect(&update_timer, &QTimer::timeout, this, qOverload<>(&MicroProfileWidget::update)); |
| 113 | static_cast<void (MicroProfileWidget::*)()>(&MicroProfileWidget::update)); | ||
| 114 | } | 113 | } |
| 115 | 114 | ||
| 116 | void MicroProfileWidget::paintEvent(QPaintEvent* ev) { | 115 | void MicroProfileWidget::paintEvent(QPaintEvent* ev) { |