mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 01:31:51 -05:00
Merge pull request #2226 from ts-korhonen/fix-joystick-dialog
Fix Qt joystick dialog
This commit is contained in:
commit
e962b80dd2
2 changed files with 2 additions and 4 deletions
|
@ -43,7 +43,7 @@ JoystickConfiguration::JoystickConfiguration(int type, int joystick_nr, QWidget
|
|||
}
|
||||
|
||||
ui->comboBoxDevice->setCurrentIndex(joystick_state[joystick_nr].plat_joystick_nr);
|
||||
setFixedSize(minimumSizeHint());
|
||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||
}
|
||||
|
||||
JoystickConfiguration::~JoystickConfiguration()
|
||||
|
@ -197,6 +197,4 @@ void JoystickConfiguration::on_comboBoxDevice_currentIndexChanged(int index) {
|
|||
|
||||
++row;
|
||||
}
|
||||
|
||||
setFixedSize(minimumSizeHint());
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
<string>Joystick configuration</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="0" colspan="2">
|
||||
|
|
Loading…
Reference in a new issue