Fixed khelpcenter visualization bug. This solves bug 2188.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 9 years ago
parent 900f593b6b
commit da25462d26

@ -329,15 +329,15 @@ void LayoutConfig::save()
} }
TQString LayoutConfig::handbookSection() const TQString LayoutConfig::handbookDocPath() const
{ {
int index = widget->tabWidget->currentPageIndex(); int index = widget->tabWidget->currentPageIndex();
if (index == 0) if (index == 0)
return "layout-config"; return "kxkb/layout-config.html";
else if (index == 1) else if (index == 1)
return "switching-config"; return "kxkb/switching-config.html";
else if (index == 2) else if (index == 2)
return "xkboptions-config"; return "kxkb/xkboptions-config.html";
else else
return TQString::null; return TQString::null;
} }

@ -26,7 +26,7 @@ public:
void save(); void save();
void defaults(); void defaults();
void initUI(); void initUI();
virtual TQString handbookSection() const; virtual TQString handbookDocPath() const;
protected: protected:
TQString createOptionString(); TQString createOptionString();

Loading…
Cancel
Save