diff --git a/src/duckstation-qt/controllerglobalsettingswidget.cpp b/src/duckstation-qt/controllerglobalsettingswidget.cpp index 9928957fa..355a438fb 100644 --- a/src/duckstation-qt/controllerglobalsettingswidget.cpp +++ b/src/duckstation-qt/controllerglobalsettingswidget.cpp @@ -28,10 +28,10 @@ ControllerGlobalSettingsWidget::ControllerGlobalSettingsWidget(QWidget* parent, SettingsInterface* sif = dialog->getEditingSettingsInterface(); - // editing game profile or input profile bool remove_sources = false; if (sif) { + // Editing game profile or input profile. m_ui.useProfileHotkeyBindings->setChecked(sif->GetBoolValue("ControllerPorts", "UseProfileHotkeyBindings", false)); connect(m_ui.useProfileHotkeyBindings, &QCheckBox::checkStateChanged, this, [this](int new_state) { m_dialog->setBoolValue("ControllerPorts", "UseProfileHotkeyBindings", (new_state == Qt::Checked)); @@ -46,7 +46,7 @@ ControllerGlobalSettingsWidget::ControllerGlobalSettingsWidget(QWidget* parent, } else { - // remove profile options from the UI. + // Editing base settings, remove profile options from the UI. m_ui.mainLayout->removeWidget(m_ui.profileSettings); QtUtils::SafeDeleteWidget(m_ui.profileSettings); m_ui.profileSettingsLayout = nullptr; diff --git a/src/duckstation-qt/controllerglobalsettingswidget.ui b/src/duckstation-qt/controllerglobalsettingswidget.ui index fc48ce18b..1206fe983 100644 --- a/src/duckstation-qt/controllerglobalsettingswidget.ui +++ b/src/duckstation-qt/controllerglobalsettingswidget.ui @@ -6,8 +6,8 @@ 0 0 - 977 - 743 + 900 + 658 @@ -108,6 +108,31 @@ + + + + Detected Devices + + + + + + + 200 + 0 + + + + + 200 + 16777215 + + + + + + + @@ -342,7 +367,7 @@ - + Profile Settings @@ -380,39 +405,8 @@ Qt::Orientation::Vertical - - - 0 - 0 - - - - - - Detected Devices - - - - - - - 200 - 0 - - - - - 200 - 16777215 - - - - - - -