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 a57ae64c11)
r14.0.x
Michele Calgaro 4 years ago
parent 527dcf77d4
commit 3505e3232d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

Loading…
Cancel
Save