Qt: Make dialogues more consistent

This commit is contained in:
spycrab
2018-05-06 18:02:39 +02:00
parent c3d88a622d
commit 7cd30810a3
10 changed files with 18 additions and 10 deletions

View File

@ -168,7 +168,7 @@ void GeckoCodeWidget::AddCode()
Gecko::GeckoCode code;
code.enabled = true;
CheatCodeEditor ed;
CheatCodeEditor ed(this);
ed.SetGeckoCode(&code);
if (ed.exec())
@ -188,7 +188,7 @@ void GeckoCodeWidget::EditCode()
int row = m_code_list->row(item);
CheatCodeEditor ed;
CheatCodeEditor ed(this);
ed.SetGeckoCode(&m_gecko_codes[row]);