Signed-off-by: Pavel Mars <mars@basealt.ru>
Fixed bug "Khelpcenter menu does not work (some parts of TreeView not expanded)"
" On 2018.09.26, an upgrade was made by command dist-upgrade.
Incorrect to works the contents index tree on left half of application window (TreeWidget) khelpcenter.
User uses - Double-click to open files and folders.
Start khelpcenter.
Pressing some of the menu items does not produce any results (the corresponding help information is not displayed in the right half of the application window)."
STEPS TO REPRODUCE BUG
Open «System Settings» (systemsettings5) → Input Devices → Mouse → General → Choose «Double-click to open files and folders» (!!!)
Start khelpcenter (in any way).
Choose menu item - "Kinfocenter Modules" - in the left half of the application window.
Choose "Memory" in the right half of the application window.
Look on the left half of the application window.
When you select the menu item "KInfoCenter Modules" -> "DMA-Channels" (or another item: Memory, Choose «KinfoCenter» menu item in the left half of the application window.
OpenGL, The corresponding help is not displayed in the right half of the application window.
Similarly with other submenus of «KinfoCenter Modules» -> ...etc.) -> "KInfoCenter" -> "Start KInfoCenter", .
EXPECTED RESULTthe help on the right side of the program screen is incorrect.
When you select any of the submenus that appear, Menu should work correctly:the same help is displayed (../index.html).
all menu items should be displayed,This is due to the incorrect formation of links to help.
To fix this bug, subparagraphs should open and disclose subtrees,add "QUrl :: RemoveFragment" to the string "mToc-> setApplication (url.toString (QUrl :: RemoveScheme | QUrl :: RemoveFilename | QUrl :: StripTrailingSlash))" in the navigatorappitem.cpp file.
the corresponding help is displayed inThis expression removes the fragment from the right half of the application windowgenerated link and allows you to properly load the help file.