summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2015-06-09 13:12:33 +0900
committerMichele Calgaro <[email protected]>2015-06-09 13:15:05 +0900
commit5c031202ddedf63416cf20cb4ad4618a00fe5a25 (patch)
tree633cf31dcb3df3f9ebb03a705af177430c09e0e6
parent2d6b8219e794e15336455c193165a996721a48ad (diff)
downloadtdebase-5c031202ddedf63416cf20cb4ad4618a00fe5a25.tar.gz
tdebase-5c031202ddedf63416cf20cb4ad4618a00fe5a25.zip
Fixed khelpcenter visualization bug. This solves bug 2188.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit da25462d268fc49751fc3617b49fa8b4742dad15)
-rw-r--r--kxkb/kcmlayout.cpp8
-rw-r--r--kxkb/kcmlayout.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/kxkb/kcmlayout.cpp b/kxkb/kcmlayout.cpp
index 1cb011270..a306f0a33 100644
--- a/kxkb/kcmlayout.cpp
+++ b/kxkb/kcmlayout.cpp
@@ -329,15 +329,15 @@ void LayoutConfig::save()
}
-TQString LayoutConfig::handbookSection() const
+TQString LayoutConfig::handbookDocPath() const
{
int index = widget->tabWidget->currentPageIndex();
if (index == 0)
- return "layout-config";
+ return "kxkb/layout-config.html";
else if (index == 1)
- return "switching-config";
+ return "kxkb/switching-config.html";
else if (index == 2)
- return "xkboptions-config";
+ return "kxkb/xkboptions-config.html";
else
return TQString::null;
}
diff --git a/kxkb/kcmlayout.h b/kxkb/kcmlayout.h
index a9b375db6..987fff2b0 100644
--- a/kxkb/kcmlayout.h
+++ b/kxkb/kcmlayout.h
@@ -26,7 +26,7 @@ public:
void save();
void defaults();
void initUI();
- virtual TQString handbookSection() const;
+ virtual TQString handbookDocPath() const;
protected:
TQString createOptionString();