From ebd4ec8d0d796a1e729c15de6e558e09358d2762 Mon Sep 17 00:00:00 2001
From: Marius Vlad <marius.vlad@collabora.com>
Date: Wed, 10 Jun 2020 20:44:46 +0300
Subject: main: Set-up the application id

Neccessary to set-up a proper application id.

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I92fd9747d1aa9f3716851c1c866e117e73ae136c
---
 homescreen/src/main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp
index 507b68d..742daa6 100644
--- a/homescreen/src/main.cpp
+++ b/homescreen/src/main.cpp
@@ -201,6 +201,8 @@ int main(int argc, char *argv[])
     QCoreApplication::setOrganizationName("AutomotiveGradeLinux");
     QCoreApplication::setApplicationName("HomeScreen");
     QCoreApplication::setApplicationVersion("0.7.0");
+    /* we need to have an app_id */
+    a.setDesktopFileName("homescreen");
 
     QCommandLineParser parser;
     parser.addPositionalArgument("port", a.translate("main", "port for binding"));
-- 
cgit