summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-04-20 12:48:09 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 21:50:10 +0100
commita860d82befee0002aecf6b0219afef9c741eb522 (patch)
treeb4b391facf2e0f23a4adcb6f3c6c55fa7f6b44bd
parent188e2b9e2dd1afb515b95f2e5dac580b42bb7efe (diff)
downloadtdelibs-a860d82befee0002aecf6b0219afef9c741eb522.tar.gz
tdelibs-a860d82befee0002aecf6b0219afef9c741eb522.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--kdeprint/management/kmjobviewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/management/kmjobviewer.cpp b/kdeprint/management/kmjobviewer.cpp
index 8d723e734..a58554082 100644
--- a/kdeprint/management/kmjobviewer.cpp
+++ b/kdeprint/management/kmjobviewer.cpp
@@ -335,7 +335,7 @@ void KMJobViewer::initActions()
KConfig *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);