Qt: Fix random crashes

This commit is contained in:
spycrab 2017-05-20 11:10:39 +02:00
parent 1d2b272b00
commit a4b24ac265
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ ControllersWindow::ControllersWindow(QWidget* parent)
void ControllersWindow::CreateGamecubeLayout() void ControllersWindow::CreateGamecubeLayout()
{ {
m_gc_box = new QGroupBox(m_gc_label); m_gc_box = new QGroupBox();
m_gc_layout = new QFormLayout(); m_gc_layout = new QFormLayout();
m_gc_label = new QLabel(); m_gc_label = new QLabel();
m_gc_label->setPixmap(QPixmap(m_gamecube_icon)); m_gc_label->setPixmap(QPixmap(m_gamecube_icon));