summaryrefslogtreecommitdiff
path: root/noncore/settings/doctab/doctab.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/doctab/doctab.cpp') (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
@@ -52,12 +52,19 @@
DocTabSettings::DocTabSettings( QWidget* parent, const char* name, WFlags fl )
: DocTabSettingsBase( parent, name, TRUE, 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()
{}
void DocTabSettings::accept()