Skip to content

Commit

Permalink
fixed minor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
r-bernhard committed Feb 3, 2024
1 parent 8d6bfff commit 28e3222
Show file tree
Hide file tree
Showing 3 changed files with 631 additions and 4 deletions.
3 changes: 3 additions & 0 deletions base/SettingsDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ SettingsDlg::SettingsDlg(EditionType edition, QWidget* parent) :
ui(new Ui::SettingsDlg)
{
ui->setupUi(this);
#ifdef _WITH_GAMEPAD_
ui->tab_gamepad->setEnabled(true);
#endif

if (m_edition == EditionType::Team)
{
Expand Down
16 changes: 12 additions & 4 deletions base/SettingsDlg.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>459</width>
<height>566</height>
<width>517</width>
<height>578</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -39,7 +39,7 @@
<bool>true</bool>
</property>
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab_general">
<attribute name="icon">
Expand Down Expand Up @@ -738,6 +738,9 @@
</layout>
</widget>
<widget class="QWidget" name="tab_gamepad">
<property name="enabled">
<bool>false</bool>
</property>
<attribute name="icon">
<iconset resource="ipponboard.qrc">
<normaloff>:/res/icons/controller.png</normaloff>:/res/icons/controller.png</iconset>
Expand Down Expand Up @@ -840,7 +843,7 @@
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="comboBox_hajime_mate">
<property name="enabled">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContentsOnFirstShow</enum>
Expand Down Expand Up @@ -1100,6 +1103,11 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
Expand Down
Loading

0 comments on commit 28e3222

Please sign in to comment.