diff options
author | Roman Savochenko <[email protected]> | 2020-01-31 21:37:30 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-31 21:41:00 +0900 |
commit | 27b56d1fea4fdccdbbe4d4c8ad9f8ac923343b90 (patch) | |
tree | 5b93080aa1e53ccba11125192ba059f7ead09878 /tdeprint/kjobviewer/kjobviewer.cpp | |
parent | 2afc8bbbe4f529c5847cfbe1757e55c47e4656fe (diff) | |
download | tdebase-27b56d1fea4fdccdbbe4d4c8ad9f8ac923343b90.tar.gz tdebase-27b56d1fea4fdccdbbe4d4c8ad9f8ac923343b90.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 <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 28771943f7c5cbdb17754a962c668f6b61013d04)
Diffstat (limited to 'tdeprint/kjobviewer/kjobviewer.cpp')
-rw-r--r-- | tdeprint/kjobviewer/kjobviewer.cpp | 3 |
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() |