From 5c031202ddedf63416cf20cb4ad4618a00fe5a25 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 9 Jun 2015 13:12:33 +0900 Subject: Fixed khelpcenter visualization bug. This solves bug 2188. Signed-off-by: Michele Calgaro (cherry picked from commit da25462d268fc49751fc3617b49fa8b4742dad15) --- kxkb/kcmlayout.cpp | 8 ++++---- kxkb/kcmlayout.h | 2 +- 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(); -- cgit v1.2.1