From bdd067370eb0af9b2e8179034730ef8e9e4c8202 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Fri, 22 Jan 2016 02:06:59 +0100 Subject: Strictly use autostart-enabled .desktop This resolves Bug 2577 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit b62b2d3a077be091b693fecb52f65cbc1ac2681e) --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 035b0fc..708db35 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -56,6 +56,8 @@ int main(int argc, char *argv[]) if(!KUniqueApplication::start()) return 0; KUniqueApplication a; + // We handle autostart via standard autostart-enabled .desktop file instead of the session + a.disableSessionManagement(); TDEConfig *cfg= kapp->config(); cfg->setGroup("General"); -- cgit v1.2.3