Skip to content

Commit

Permalink
replace highdpi_scaling with the new name
Browse files Browse the repository at this point in the history
  • Loading branch information
YiFang Xiao committed Dec 11, 2023
1 parent b207691 commit cdf1ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ int main( int argc, char ** argv )
QApplication::setAttribute( Qt::AA_EnableHighDpiScaling );
QApplication::setAttribute( Qt::AA_UseHighDpiPixmaps );
#endif
qputenv( "QT_AUTO_SCREEN_SCALE_FACTOR", "1" );
qputenv( "QT_ENABLE_HIGHDPI_SCALING", "1" );
QApplication::setHighDpiScaleFactorRoundingPolicy( Qt::HighDpiScaleFactorRoundingPolicy::PassThrough );

QHotkeyApplication app( "GoldenDict-ng", argc, argv );
Expand Down

0 comments on commit cdf1ed2

Please sign in to comment.