diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-17 16:43:34 +0200 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-17 16:43:34 +0200 | 
| commit | 007a35932e17b23a3766cf045bc2ad5ddd4d0320 (patch) | |
| tree | 05f3cb50e62862a8fb140c1b92b253f0996c715d /variant | |
| parent | 9f68e5e9308094b16351cc10b15ff6eb8d1951c4 (diff) | |
opentrack: maybe fix GNU build
Diffstat (limited to 'variant')
| -rw-r--r-- | variant/default/main-window.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index fde61994..3977fa7a 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -50,11 +50,13 @@ void main_window::annoy_if_root()  {      if (geteuid() == 0)      { -        struct { +        struct lst {              QString caption;              QString msg;              int sleep_ms; -        } list[] = { +        }; + +        const lst list[] = {              {                  tr("Running as root is bad"),                  tr("Do not run as root. Set correct device node permissions."), | 
