1
0
Fork 0

Merge pull request #5532 from FearlessTobi/port-4531

Port yuzu-emu/yuzu#4531: "yuzu: Make use of qOverload where applicable"
This commit is contained in:
Marshall Mohror 2020-08-28 13:28:48 -05:00 committed by GitHub
commit f2d26eb73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -108,8 +108,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) {