mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
parent
c9569fae24
commit
bbdf0732ad
5 changed files with 13 additions and 11 deletions
|
@ -388,6 +388,12 @@ add_executable(dolphin-mpn
|
|||
WiiUpdate.h
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_sources(dolphin-mpn PRIVATE
|
||||
Styles/Dark/dark.qrc
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
target_sources(dolphin-mpn PRIVATE
|
||||
QtUtils/SignalDaemon.cpp
|
||||
|
|
|
@ -45,14 +45,10 @@
|
|||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch_qt.h</PrecompiledHeaderFile>
|
||||
<ForcedIncludeFiles>pch_qt.h</ForcedIncludeFiles>
|
||||
<TreatWarningAsError Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</TreatWarningAsError>
|
||||
</ClCompile>
|
||||
<Manifest>
|
||||
<AdditionalManifestFiles>DolphinQt.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
|
||||
</Manifest>
|
||||
<Link>
|
||||
<TreatLinkerWarningAsErrors Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</TreatLinkerWarningAsErrors>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="AboutDialog.cpp" />
|
||||
|
|
|
@ -140,6 +140,12 @@ void InterfacePane::CreateUI()
|
|||
|
||||
m_combobox_userstyle->addItem(tr("System"), static_cast<int>(Settings::StyleType::System));
|
||||
|
||||
// TODO: Support forcing light/dark on other OSes too.
|
||||
#ifdef _WIN32
|
||||
m_combobox_userstyle->addItem(tr("Light"), static_cast<int>(Settings::StyleType::Light));
|
||||
m_combobox_userstyle->addItem(tr("Dark"), static_cast<int>(Settings::StyleType::Dark));
|
||||
#endif
|
||||
|
||||
for (const std::string& path : userstyle_search_results)
|
||||
{
|
||||
const QFileInfo file_info(QString::fromStdString(path));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue