From da25462d268fc49751fc3617b49fa8b4742dad15 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 9 Jun 2015 13:12:33 +0900 Subject: [PATCH] Fixed khelpcenter visualization bug. This solves bug 2188. Signed-off-by: Michele Calgaro --- 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();