summaryrefslogtreecommitdiffstats
path: root/tdeprint/kjobviewer/kjobviewer.cpp
diff options
context:
space:
mode:
authorRoman Savochenko <roman@roman.home>2020-01-31 21:37:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-31 21:37:30 +0900
commit28771943f7c5cbdb17754a962c668f6b61013d04 (patch)
treeac5789d33ae71f1507fd19e54a13195c1ecddc84 /tdeprint/kjobviewer/kjobviewer.cpp
parent8250c8e42310cb39ceb6ae425bc8546208733e99 (diff)
downloadtdebase-28771943f7c5cbdb17754a962c668f6b61013d04.tar.gz
tdebase-28771943f7c5cbdb17754a962c668f6b61013d04.zip
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 <roman@roman.home> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/kjobviewer/kjobviewer.cpp')
-rw-r--r--tdeprint/kjobviewer/kjobviewer.cpp3
1 files changed, 3 insertions, 0 deletions
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()