From 6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 27 Nov 2014 12:43:57 +0900 Subject: Fixed incomplete documentation for handbook in Appearance & Themes -> Window Decorarions. This relates to bug 1850. --- twin/kcmtwin/twindecoration/twindecoration.cpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'twin/kcmtwin') diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp index 116afee10..c1a06b619 100644 --- a/twin/kcmtwin/twindecoration/twindecoration.cpp +++ b/twin/kcmtwin/twindecoration/twindecoration.cpp @@ -958,19 +958,17 @@ TQString KWinDecorationModule::quickHelp() const TQString KWinDecorationModule::handbookSection() const { - // FIXME - // Incomplete context-sensitive help documentation currently exists for this module! int index = tabWidget->currentPageIndex(); - if (index == 0) { - //return "window-deco-general"; - return TQString::null; - } - else if (index == 1) { + if (index == 0) + return "window-deco-general"; + else if (index == 1) return "window-deco-buttons"; - } - else { + else if (index == 2) + return "window-deco-shadows"; + else if (index == 3) + return "window-deco-manager"; + else return TQString::null; - } } void KWinDecorationModule::resetKWin() -- cgit v1.2.1