Fix build issue with overload?

This commit is contained in:
Lukas Brübach 2024-12-22 16:33:54 +01:00
parent 8fdf3cb95b
commit 3fc20e985e

View file

@ -103,7 +103,8 @@ void TabDeckEditor::createDeckDock()
// Delay the update to avoid race conditions // Delay the update to avoid race conditions
QTimer::singleShot(100, this, &TabDeckEditor::updateBannerCardComboBox); QTimer::singleShot(100, this, &TabDeckEditor::updateBannerCardComboBox);
}); });
connect(bannerCardComboBox, &QComboBox::currentIndexChanged, this, &TabDeckEditor::setBannerCard); connect(bannerCardComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
&TabDeckEditor::setBannerCard);
aIncrement = new QAction(QString(), this); aIncrement = new QAction(QString(), this);
aIncrement->setIcon(QPixmap("theme:icons/increment")); aIncrement->setIcon(QPixmap("theme:icons/increment"));