mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build
This commit is contained in:
parent
6be223d84a
commit
8c2e2e1d46
|
@ -137,7 +137,7 @@ MemoryView::MemoryView(std::shared_ptr<CoreController> controller, QWidget* pare
|
|||
}
|
||||
}
|
||||
|
||||
connect(m_ui.width, &QComboBox::currentIndexChanged, [this](int index) {
|
||||
connect(m_ui.width, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), [this](int index) {
|
||||
m_ui.hexfield->setAlignment(1 << index);
|
||||
m_sintValidator.setWidth(1 << index);
|
||||
m_uintValidator.setWidth(1 << index);
|
||||
|
|
Loading…
Reference in New Issue