mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-28 10:02:31 -06:00
yuzu: Make use of qOverload where applicable
Eliminates a verbose function cast.
This commit is contained in:
parent
f72be7af2d
commit
1e2e9e555a
1 changed files with 1 additions and 2 deletions
|
@ -108,8 +108,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) {
|
||||||
|
|
Loading…
Reference in a new issue