Skip to content

Commit

Permalink
Remove always-true Qt version check
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoureaux committed Dec 31, 2023
1 parent f94d883 commit ac10fb1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/client_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,8 @@ static void client_game_reset()
int client_main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
QApplication::setHighDpiScaleFactorRoundingPolicy(
Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#endif
QApplication app(argc, argv);
QCoreApplication::setApplicationVersion(freeciv21_version());
app.setDesktopFileName(QStringLiteral("net.longturn.freeciv21"));
Expand Down

0 comments on commit ac10fb1

Please sign in to comment.