From a860d82befee0002aecf6b0219afef9c741eb522 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Apr 2020 12:48:09 +0900 Subject: [PATCH] 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 (cherry picked from commit a57ae64c11314ae571bd529c78c2460daccc9004) --- kdeprint/management/kmjobviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);