Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KDevelop
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
62
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KDevelop
KDevelop
Commits
6e3cfe24
Commit
6e3cfe24
authored
7 years ago
by
Friedrich W. H. Kossebau
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation tool view re-adding itself to dockers on restart
BUG: 385392
FIXED-IN: 5.2.0
parent
933fc0e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kdevplatform/shell/documentationcontroller.cpp
+5
-3
5 additions, 3 deletions
kdevplatform/shell/documentationcontroller.cpp
with
5 additions
and
3 deletions
kdevplatform/shell/documentationcontroller.cpp
+
5
−
3
View file @
6e3cfe24
...
...
@@ -120,6 +120,11 @@ DocumentationController::DocumentationController(Core* core)
m_showDocumentation
->
setText
(
i18n
(
"Show Documentation"
));
m_showDocumentation
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"documentation"
)));
connect
(
m_showDocumentation
,
&
QAction
::
triggered
,
this
,
&
DocumentationController
::
doShowDocumentation
);
// registering the tool view here so it registered before the areas are restored
// and thus also gets treated like the ones registered from plugins
// cmp. comment about tool views in CorePrivate::initialize
core
->
uiController
()
->
addToolView
(
i18n
(
"Documentation"
),
m_factory
);
}
DocumentationController
::~
DocumentationController
()
...
...
@@ -128,9 +133,6 @@ DocumentationController::~DocumentationController()
void
DocumentationController
::
initialize
()
{
if
(
!
(
Core
::
self
()
->
setupFlags
()
&
Core
::
NoUi
))
{
Core
::
self
()
->
uiController
()
->
addToolView
(
i18n
(
"Documentation"
),
m_factory
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment