From 2e26f72390e18260c6fc3fedc5378a6ca9ddfffb Mon Sep 17 00:00:00 2001 From: paule Date: Sat, 13 Jan 2007 10:59:49 +0000 Subject: Actually read the doctab enable/disable setting. Partially fixes bug #1618. --- (limited to 'noncore/settings') diff --git a/noncore/settings/doctab/doctab.cpp b/noncore/settings/doctab/doctab.cpp index 72eda6b..1cf3e2d 100644 --- a/noncore/settings/doctab/doctab.cpp +++ b/noncore/settings/doctab/doctab.cpp @@ -55,6 +55,13 @@ DocTabSettings::DocTabSettings( QWidget* parent, const char* name, WFlags fl ) { dl = new QPEDialogListener(this); reset(); + + Config cfg( "Launcher" ); + cfg.setGroup( "DocTab" ); + if(cfg.readBoolEntry( "Enable", true )) + yes->setChecked(true); + else + no->setChecked(true); } DocTabSettings::~DocTabSettings() -- cgit v0.9.0.2