From ac4e3e0b857982067b2177ccc4d1778cd6ab1af5 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 29 Aug 2019 17:38:17 -0400 Subject: Remove over-ride of XDG_RUNTIME_DIR Remove the qputenev to over-ride XDG_RUNTIME_DIR, as the backported fix to wayland to handle wayland-0 being a dangling symlink fixes the problem it was trying to solve. Bug-AGL: SPEC-2775 Signed-off-by: Scott Murray Change-Id: Ic408759954affaad379dc539b7bcc34fa72a2d5c --- app/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/main.cpp b/app/main.cpp index a7c832c..818449b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -50,9 +50,6 @@ int main(int argc, char *argv[]) qputenv("QT_QPA_EGLFS_KMS_CONFIG", DEFAULT_EGLFS_CONFIG_FILE); } - /* FIXTHIS: socket cannot be created successfully in '/run/user/0'. */ - qputenv("XDG_RUNTIME_DIR", "/run/platform/display"); - QGuiApplication app(argc, argv); QQmlApplicationEngine appEngine(QUrl("qrc:///cluster-gauges.qml")); -- cgit 1.2.3-korg