summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-04-20 12:48:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-04-29 21:03:17 +0900
commit3505e3232dc6f758858a167de51c1f4fc4cc937d (patch)
tree00baedcb400a395a7db2d9b19a722b0f09686422
parent527dcf77d4c40f8ae853bf488c9423d5a443a9fb (diff)
downloadtdelibs-3505e3232dc6f758858a167de51c1f4fc4cc937d.tar.gz
tdelibs-3505e3232dc6f758858a167de51c1f4fc4cc937d.zip
kjobviewer: fixed initial value of KeepWindow checkbox. This was causing KJobViewer to not autostart unless the user first toggled the checkbox at least once. Relates to bug 1362.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a57ae64c11314ae571bd529c78c2460daccc9004)
-rw-r--r--tdeprint/management/kmjobviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/management/kmjobviewer.cpp b/tdeprint/management/kmjobviewer.cpp
index 7e149ed48..43f027fe1 100644
--- a/tdeprint/management/kmjobviewer.cpp
+++ b/tdeprint/management/kmjobviewer.cpp
@@ -335,7 +335,7 @@ void KMJobViewer::initActions()
TDEConfig *conf = KMFactory::self()->printConfig();
conf->setGroup("Jobs");
- m_stickybox->setChecked(conf->readBoolEntry("KeepWindow",true));
+ m_stickybox->setChecked(conf->readBoolEntry("KeepWindow",false));
connect(m_stickybox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotKeepWindowChange(bool)));
statusbar->addWidget( m_stickybox, 1, false );
statusbar->insertItem(" " + i18n("Max.: %1").arg(i18n("Unlimited"))+ " ", 0, 0, true);