summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorColin Lord <dramborleg@users.noreply.github.com>2018-08-12 01:33:36 -0500
committermujx <mujx@users.noreply.github.com>2018-08-12 09:33:36 +0300
commitbcd92c0604dc9291e9fbfa55a5ee0354d27271f6 (patch)
tree079f6dc9fa150e6204fed948ad2fb789429988e8 /src/main.cpp
parentAdd option to disable desktop notifications (diff)
downloadnheko-bcd92c0604dc9291e9fbfa55a5ee0354d27271f6.tar.xz
Enable compilation on FreeBSD (#403)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d5651ff9..b71aa627 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -103,7 +103,7 @@ main(int argc, char *argv[])
                 return 0;
         }
 
-#if defined(Q_OS_LINUX) || defined(Q_OS_WIN)
+#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) || defined(Q_OS_FREEBSD)
         if (qgetenv("QT_SCALE_FACTOR").size() == 0) {
                 float factor = utils::scaleFactor();