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)
v3.5.13-sru
Michele Calgaro 4 years ago committed by Slávek Banko
parent 188e2b9e2d
commit a860d82bef
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save