summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--variant/default/main-window.cpp6
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."),