Skip to content

Commit

Permalink
Fix:Fix the problem that Windows 2019 Server cannot be displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneMandy committed Oct 25, 2023
1 parent d16e4cd commit b54453b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/Source/Util/Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ auto MessageBox( QString Title, QString Text, QMessageBox::Icon Icon ) -> void

auto WinVersionIcon( QString OSVersion, bool High ) -> QIcon
{
if ( OSVersion.startsWith( "Windows 10" ) || OSVersion.startsWith( "Windows Server 2019" ) )
if ( OSVersion.startsWith( "Windows 10" ) || OSVersion.startsWith( "Windows Server 2019" )|| OSVersion.startsWith( "Windows 2019 Server" ) )
{
spdlog::debug( "OSVersion is Windows 10" );

Expand Down

0 comments on commit b54453b

Please sign in to comment.