summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-16 10:11:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-16 10:11:35 +0100
commit68ee756355d082f5970440985aef6757f674f969 (patch)
treecfa82d6da29bbe3e1578613353c79114535cdae5 /variant/default/main-window.cpp
parent6cf93c06abad63721bf66f695587a98377b6178d (diff)
main-window: fix linux compile error
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r--variant/default/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 9d27afdc..30efb138 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -39,7 +39,7 @@ extern "C" const char* const opentrack_version;
#if !defined _WIN32 && !defined __APPLE__
# include <unistd.h>
-void MainWindow::annoy_if_root()
+void main_window::annoy_if_root()
{
if (geteuid() == 0)
{