Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KHelpCenter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
System
KHelpCenter
Commits
1f8eae16
Commit
1f8eae16
authored
Jun 19, 2016
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
parent
db301b6b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+2
-0
navigator.cpp
navigator.cpp
+1
-1
navigatorappitem.cpp
navigatorappitem.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
1f8eae16
...
...
@@ -55,6 +55,8 @@ set_package_properties(LibXml2 PROPERTIES
URL
"http://www.xmlsoft.org/"
TYPE REQUIRED
)
add_definitions
(
-DQT_NO_URL_CAST_FROM_STRING
)
add_subdirectory
(
plugins
)
add_subdirectory
(
searchhandlers
)
add_subdirectory
(
tests
)
...
...
navigator.cpp
View file @
1f8eae16
...
...
@@ -561,7 +561,7 @@ QUrl Navigator::homeURL()
// We have to reparse the configuration here in order to get a
// language-specific StartUrl, e.g. "StartUrl[de]".
cfg
->
reparseConfiguration
();
mHomeUrl
=
cfg
->
group
(
"General"
).
readPathEntry
(
"StartUrl"
,
QLatin1String
(
"khelpcenter:home"
)
);
mHomeUrl
=
QUrl
(
cfg
->
group
(
"General"
).
readPathEntry
(
"StartUrl"
,
QLatin1String
(
"khelpcenter:home"
)
)
);
return
mHomeUrl
;
}
...
...
navigatorappitem.cpp
View file @
1f8eae16
...
...
@@ -67,7 +67,7 @@ void NavigatorAppItem::scheduleTOCBuild()
return
;
}
const
QUrl
url
=
entry
()
->
url
(
);
const
QUrl
url
(
entry
()
->
url
()
);
if
(
url
.
scheme
()
==
QLatin1String
(
"help"
)
)
{
mToc
=
new
TOC
(
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment