summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-14 17:22:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-14 17:22:57 +0200
commit21c500a72696c7d6aa791d1e488bfcb7de3a4339 (patch)
tree3f68e280d91a2b36bfb485c65629f3dbf6c26953 /variant/default/main-window.cpp
parentd505a01cf02bee35b542a357926027b618ec87a1 (diff)
opentrack: fix at #726
cf. https://github.com/opentrack/opentrack/issues/726#issuecomment-387983372
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index d5515eb1..fde61994 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -44,7 +44,7 @@ extern "C" const char* const opentrack_version;
* files.
*/
-#if !defined _WIN32 && !defined __APPLE__
+#if !defined _WIN32
# include <unistd.h>
void main_window::annoy_if_root()
{
@@ -54,7 +54,7 @@ void main_window::annoy_if_root()
QString caption;
QString msg;
int sleep_ms;
- } list const[] = {
+ } list[] = {
{
tr("Running as root is bad"),
tr("Do not run as root. Set correct device node permissions."),