Skip to content

Commit

Permalink
Update esettings.cpp
Browse files Browse the repository at this point in the history
Enable auto interface scaling on Windows as default.
  • Loading branch information
rodlie committed Nov 19, 2023
1 parent bef6aeb commit 1804d5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/Private/esettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,17 @@ eSettings::eSettings(const int cpuThreads,
reinterpret_cast<int&>(fHddCacheMBCap),
"hddCacheMBCap", 0);

bool defaultScaling = false;
#ifdef Q_OS_WIN
defaultScaling = true;
#endif

gSettings << std::make_shared<eQrealSetting>(
fInterfaceScaling,
"interfaceScaling", 1.);
gSettings << std::make_shared<eBoolSetting>(
fDefaultInterfaceScaling,
"defaultInterfaceScaling", false);
"defaultInterfaceScaling", defaultScaling);

gSettings << std::make_shared<eBoolSetting>(
fCanvasRtlSupport,
Expand Down

0 comments on commit 1804d5e

Please sign in to comment.