mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
fixes
This commit is contained in:
parent
48912198ae
commit
c924447345
5 changed files with 7 additions and 20 deletions
|
@ -231,6 +231,9 @@ void GeneralPane::CreateCheats()
|
|||
code_handler_layout->addRow(code_handler_label, m_combobox_codehandler);
|
||||
|
||||
cheats_group_layout->addLayout(code_handler_layout);
|
||||
|
||||
code_handler_layout->setFormAlignment(Qt::AlignLeft | Qt::AlignTop);
|
||||
code_handler_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
|
||||
}
|
||||
|
||||
void GeneralPane::LoadConfig()
|
||||
|
|
|
@ -131,7 +131,6 @@ void InterfacePane::CreateUI()
|
|||
const QString qt_name = QString::fromStdString(PathToFileName(path));
|
||||
m_combobox_theme->addItem(qt_name);
|
||||
}
|
||||
#ifdef _WIN32
|
||||
// User Style Combobox
|
||||
m_combobox_userstyle = new QComboBox;
|
||||
m_label_userstyle = new QLabel(tr("Style:"));
|
||||
|
@ -140,18 +139,19 @@ void InterfacePane::CreateUI()
|
|||
|
||||
auto current = QOperatingSystemVersionBase::current();
|
||||
|
||||
#ifdef _WIN32
|
||||
if (current <= QOperatingSystemVersion(QOperatingSystemVersion::Windows, 10))
|
||||
{
|
||||
m_combobox_userstyle->addItem(tr("Windows 11"), static_cast<int>(Settings::StyleType::Light));
|
||||
m_combobox_userstyle->addItem(tr("Windows 10"), static_cast<int>(Settings::StyleType::Dark));
|
||||
}
|
||||
#endif
|
||||
|
||||
for (const std::string& path : userstyle_search_results)
|
||||
{
|
||||
const QFileInfo file_info(QString::fromStdString(path));
|
||||
m_combobox_userstyle->addItem(file_info.completeBaseName(), file_info.fileName());
|
||||
}
|
||||
#endif
|
||||
|
||||
// Checkboxes
|
||||
m_checkbox_use_builtin_title_database = new QCheckBox(tr("Use Built-In Database of Game Names"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue