summaryrefslogtreecommitdiff
authorpaule <paule>2007-01-13 10:59:49 (UTC)
committer paule <paule>2007-01-13 10:59:49 (UTC)
commit2e26f72390e18260c6fc3fedc5378a6ca9ddfffb (patch) (side-by-side diff)
treec6ef3b904899ff160f22e336d5a0cd5f38ae0eb3
parent5c03ec2b2d0d6b10f7581b8b447cbcb1935e7e67 (diff)
downloadopie-2e26f72390e18260c6fc3fedc5378a6ca9ddfffb.zip
opie-2e26f72390e18260c6fc3fedc5378a6ca9ddfffb.tar.gz
opie-2e26f72390e18260c6fc3fedc5378a6ca9ddfffb.tar.bz2
Actually read the doctab enable/disable setting.
Partially fixes bug #1618.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/doctab/doctab.cpp7
1 files changed, 7 insertions, 0 deletions
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()