From 28771943f7c5cbdb17754a962c668f6b61013d04 Mon Sep 17 00:00:00 2001 From: Roman Savochenko Date: Fri, 31 Jan 2020 21:37:30 +0900 Subject: tdeprint: autostart of KJobViewer is now controlled by a .desktop file. Taken from patch proposed in https://bugs.trinitydesktop.org/show_bug.cgi?id=1362. Signed-off-by: Roman Savochenko Signed-off-by: Michele Calgaro --- tdeprint/kjobviewer/kjobviewer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tdeprint/kjobviewer/kjobviewer.cpp') diff --git a/tdeprint/kjobviewer/kjobviewer.cpp b/tdeprint/kjobviewer/kjobviewer.cpp index 393cd1c95..cdf1fc225 100644 --- a/tdeprint/kjobviewer/kjobviewer.cpp +++ b/tdeprint/kjobviewer/kjobviewer.cpp @@ -94,6 +94,9 @@ KJobViewerApp::KJobViewerApp() : KUniqueApplication() m_views.setAutoDelete(true); m_tray = 0; m_timer = 0; + + // We handle autostart via standard autostart-enabled .desktop file instead of the session manager + disableSessionManagement(); } KJobViewerApp::~KJobViewerApp() -- cgit v1.2.1