yuzu-emu
/
yuzu
Archived
1
0
Fork 0

yuzu: Make use of qOverload where applicable

Eliminates a verbose function cast.
This commit is contained in:
Lioncash 2020-08-14 12:16:04 -04:00
parent f482b4b40d
commit 969a4cc4da
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 MicroProfileSetDisplayMode(1); // Timers screen
MicroProfileInitUI(); MicroProfileInitUI();
connect(&update_timer, &QTimer::timeout, this, connect(&update_timer, &QTimer::timeout, this, qOverload<>(&MicroProfileWidget::update));
static_cast<void (MicroProfileWidget::*)()>(&MicroProfileWidget::update));
} }
void MicroProfileWidget::paintEvent(QPaintEvent* ev) { void MicroProfileWidget::paintEvent(QPaintEvent* ev) {