mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-01 15:56:32 -05:00
Merge pull request #4531 from lioncash/overload
yuzu: Make use of qOverload where applicable
This commit is contained in:
commit
d8a90e6536
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue