mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Honour Qt scaling factor on OpenBSD
Instead of completing the list of Linux, Windows and the BSDs (NetBSD and DragonFly would still be missing), simply flip it to not-macOS to simplify and fix the two other aforementioned BSDs at once.
This commit is contained in:
parent
63c17d78cb
commit
dc1fb1b454
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ main(int argc, char *argv[])
|
|||
|
||||
// this needs to be after setting the application name. Or how would we find our settings
|
||||
// file then?
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) || defined(Q_OS_FREEBSD)
|
||||
#if !defined(Q_OS_MACOS)
|
||||
if (qgetenv("QT_SCALE_FACTOR").size() == 0) {
|
||||
float factor = utils::scaleFactor();
|
||||
|
||||
|
|
Loading…
Reference in a new issue