Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
77715321
Commit
77715321
authored
Apr 06, 2010
by
kh1
Browse files
Remove some more webkit defines.
Font stuff is now handled completely inside the help viewer class. Reviewed-by: ck
parent
29e8e70b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/help/helpplugin.cpp
View file @
77715321
...
...
@@ -80,12 +80,6 @@
#include
<QtHelp/QHelpEngine>
#include
<QtHelp/QHelpEngineCore>
#if defined(QT_NO_WEBKIT)
# include <QtGui/QApplication>
#else
# include <QtWebKit/QWebSettings>
#endif
using
namespace
Core
::
Constants
;
using
namespace
Help
;
using
namespace
Help
::
Internal
;
...
...
@@ -518,11 +512,6 @@ void HelpPlugin::createRightPaneContextViewer()
m_core
->
addContextObject
(
new
Core
::
BaseContext
(
m_helpViewerForSideBar
,
QList
<
int
>
()
<<
m_core
->
uniqueIDManager
()
->
uniqueIdentifier
(
Constants
::
C_HELP_SIDEBAR
),
this
));
#if defined(QT_NO_WEBKIT)
m_helpViewerForSideBar
->
setFont
(
qVariantValue
<
QFont
>
(
m_helpManager
->
helpEngineCore
()
.
customValue
(
QLatin1String
(
"font"
),
QApplication
::
font
())));
#endif
QAction
*
copy
=
new
QAction
(
this
);
Core
::
Command
*
cmd
=
m_core
->
actionManager
()
->
registerAction
(
copy
,
Core
::
Constants
::
COPY
,
QList
<
int
>
()
<<
m_core
->
uniqueIDManager
()
->
uniqueIdentifier
(
Constants
::
C_HELP_SIDEBAR
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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