Qt: Use addLayout instead of addItem when adding layouts

This commit is contained in:
Starsam80
2018-05-08 17:54:47 -06:00
parent 10d230a512
commit ebf6149ad4
8 changed files with 14 additions and 14 deletions

View File

@ -26,7 +26,7 @@ void HotkeyGeneral::CreateMainLayout()
vbox->addWidget(CreateGroupBox(tr("Volume"), HotkeyManagerEmu::GetHotkeyGroup(HKGP_VOLUME)));
vbox->addWidget(
CreateGroupBox(tr("Emulation Speed"), HotkeyManagerEmu::GetHotkeyGroup(HKGP_SPEED)));
m_main_layout->addItem(vbox);
m_main_layout->addLayout(vbox);
setLayout(m_main_layout);
}