yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #4531 from lioncash/overload

yuzu: Make use of qOverload where applicable
This commit is contained in:
Rodrigo Locatti 2020-08-17 04:13:14 -03:00 committed by GitHub
commit d8a90e6536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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) {