Skip to content

Commit

Permalink
Update esettings.cpp
Browse files Browse the repository at this point in the history
Also set auto scaling on by default on Linux.
  • Loading branch information
rodlie committed Nov 19, 2023
1 parent 66850df commit a83b4a6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/core/Private/esettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,17 +190,12 @@ 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", defaultScaling);
"defaultInterfaceScaling", true);

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

0 comments on commit a83b4a6

Please sign in to comment.