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:12:33 +0900
commitda25462d268fc49751fc3617b49fa8b4742dad15 (patch)
tree5b8f3ee084c00afd2d2e9dce49c2516fafe87848
parent900f593b6b33dd6028def8e3f7f595819cbbf2f1 (diff)
downloadtdebase-da25462d268fc49751fc3617b49fa8b4742dad15.tar.gz
tdebase-da25462d268fc49751fc3617b49fa8b4742dad15.zip
Fixed khelpcenter visualization bug. This solves bug 2188.
Signed-off-by: Michele Calgaro <[email protected]>
-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();